![Pavan Savoy](/assets/img/avatar_default.png)
Texas Instruments BT, FM and GPS combo chips/drivers make use of a single TTY to communicate with the chip. This is the common header file for both the ST driver and the protocol drivers which intend to use ST as their mode of transport. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 lines
307 B
C
14 lines
307 B
C
struct fm_event_hdr {
|
|
unsigned char plen;
|
|
} __attribute__ ((packed));
|
|
|
|
#define FM_MAX_FRAME_SIZE 0xFF /* TODO: */
|
|
#define FM_EVENT_HDR_SIZE 1 /* size of fm_event_hdr */
|
|
#define ST_FM_CH8_PKT 0x8
|
|
|
|
/* gps stuff */
|
|
struct gps_event_hdr {
|
|
unsigned char opcode;
|
|
unsigned short plen;
|
|
} __attribute__ ((packed));
|