From e55f33866334615e705ff68c0f3bea8e5b1b9b8b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 13 Apr 2010 11:19:04 +0000 Subject: 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. --- Projects/LEDNotifier/LEDNotifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects') diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 00b6e2698..61d5efcbb 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -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); -- cgit v1.2.3