Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines.
Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future. Start Service Discovery Protocol decoding and processing.
This commit is contained in:
parent
882ef0c983
commit
e55f338663
12 changed files with 361 additions and 127 deletions
|
@ -113,7 +113,7 @@ int main(void)
|
|||
/* Read in next LED colour command from the host */
|
||||
uint8_t ColorUpdate = fgetc(&USBSerialStream);
|
||||
|
||||
/* Top 3 bits select the LED, bottom three control the brightness */
|
||||
/* Top 3 bits select the LED, bottom 5 control the brightness */
|
||||
uint8_t Channel = (ColorUpdate & 0b11100000);
|
||||
uint8_t Duty = (ColorUpdate & 0b00011111);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue