X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=metawatch%2Fbt_hci.c;h=38ffb7fc4b20cf38c203566f3a37f38706661f16;hp=265b00c839b9180627d0549ff775889e4d7608ca;hb=16600ff42846105227c8a3cbb4f2b818ca41811d;hpb=1553c23cf33de5d8a193ffc8c7014cf826fc9fd3 diff --git a/metawatch/bt_hci.c b/metawatch/bt_hci.c index 265b00c..38ffb7f 100644 --- a/metawatch/bt_hci.c +++ b/metawatch/bt_hci.c @@ -232,6 +232,7 @@ void bt_hci_process_event_packet(unsigned char *packet) #endif memmove(packet, (packet+2), 6); packet[6] = 0x04; // PIN has length of 4 + memcpy((packet+7), BT_PIN, 4); packet[7] = '4'; packet[8] = '3'; packet[9] = '1';