Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code much easier to read, block less and work correctly.

This commit is contained in:
Dean Camera 2010-03-31 14:32:03 +00:00
parent c9148f9b47
commit a2e6d54336
6 changed files with 167 additions and 257 deletions

View file

@ -72,7 +72,7 @@
{
bool IsConnected;
uint16_t ConnectionHandle;
uint8_t DeviceAddress[6];
uint8_t RemoteAddress[6];
Bluetooth_Channel_t Channels[BLUETOOTH_MAX_OPEN_CHANNELS];
} Bluetooth_Connection_t;
@ -87,6 +87,7 @@
Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchBySource);
Bluetooth_Channel_t* Bluetooth_InitChannelData(uint16_t RemoteChannelNumber, uint16_t PSM);
void Bluetooth_State_Init(void);
void Bluetooth_Stack_Task(void);
/* External Variables: */