aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-11 02:45:42 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-11 02:45:42 +0000
commit26421b38cd59191cd42d8e6f0d1499c3775e75d7 (patch)
treefd4b823ea0866e0084e5f0175d15728881e30f36 /Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
parent28f1ac81176bbcd9fd13d94e61323522a5279d27 (diff)
downloadlufa-26421b38cd59191cd42d8e6f0d1499c3775e75d7.tar.gz
lufa-26421b38cd59191cd42d8e6f0d1499c3775e75d7.tar.bz2
lufa-26421b38cd59191cd42d8e6f0d1499c3775e75d7.zip
Fix up Bluetooth Demo's options processing on incoming channel configuration requests.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
index fbacc2537..d2bd07589 100644
--- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
+++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
@@ -251,8 +251,8 @@ void Bluetooth_PacketReceived(uint16_t* PacketLength, Bluetooth_Channel_t* Chann
Pipe_Read_Stream_LE(&DataPayload, *PacketLength);
*PacketLength = 0;
- printf_P(PSTR("L2CAP Packet Recetion on channel %02X:\r\n"), Channel->LocalNumber);
- for (uint16_t Byte = 0; Byte < *PacketLength; Byte++)
+ printf_P(PSTR("Packet Received (Channel 0x%04X, PSM: 0x%02x):\r\n"), Channel->LocalNumber, Channel->PSM);
+ for (uint16_t Byte = 0; Byte < sizeof(DataPayload); Byte++)
printf_P(PSTR("0x%02X "), DataPayload[Byte]);
puts_P(PSTR("\r\n"));
}