diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-06-03 07:45:09 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-06-03 07:45:09 +0000 |
| commit | 7dc446ee9a77f242860993e7818f32329ab9c968 (patch) | |
| tree | 248f6f1790322000fb872ae1f6a6e6da70c00799 /Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c | |
| parent | 3cc15a7f8912523be9a4afed2d9a0f5667d870c7 (diff) | |
Add PSM value to the RFCOMM service so that the host knows what PSM to use on channels when trying to access it.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1308 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c')
| -rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c index 737932cd..10286793 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c @@ -291,11 +291,7 @@ void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* break; default: /* Unknown Protocol packet */ - printf_P(PSTR("Packet Received (Channel 0x%04X, PSM: 0x%02x):\r\n"), Channel->LocalNumber, Channel->PSM); - for (uint16_t Byte = 0; Byte < DataLen; Byte++) - printf_P(PSTR("0x%02X "), ((uint8_t*)Data)[Byte]); - puts_P(PSTR("\r\n")); - + printf_P(PSTR("Unknown Packet Received (Channel 0x%04X, PSM: 0x%02X):\r\n"), Channel->LocalNumber, Channel->PSM); break; } } |
