Bluetooth Error Codes:
When interfacing Bluetooth with Arduino or any other microcontroller, we usually have to handle various Bluetooth error codes and these Bluetooth devices show only error codes. However, we have to check what that code means. Here we have given a list of error codes to help you understand the issues of Bluetooth.
ERROR CODE VERBOSE 0 Command Error/Invalid Command 1 Results in default value 2 PSKEY write error 3 Device name is too long (>32 characters) 4 No device name specified (0 lenght) 5 Bluetooth address NAP is too long 6 Bluetooth address UAP is too long 7 Bluetooth address LAP is too long 8 PIO map not specified (0 lenght) 9 Invalid PIO port Number entered A Device Class not specified (0 lenght) B Device Class too long C Inquire Access Code not Specified (0 lenght) D Inquire Access Code too long E Invalid Iquire Access Code entered F Pairing Password not specified (0 lenght) 10 Pairing Password too long (> 16 characters) 11 Invalid Role entered 12 Invalid Baud Rate entered 13 Invalid Stop Bit entered 14 Invalid Parity Bit entered 15 No device in the Pairing List 16 SPP not initialized 17 SPP already initialized 18 Invalid Inquiry Mode 19 Inquiry Timeout occured 1A Invalid/zero lenght address entered 1B Invalid Security Mode entered 1C Invalid Encryption Mode entered Read Also: - Interfacing Bluetooth Modules HC-05, HC-06, JY-MCU BT_BOARD v1.02 and v1.03 with Arduino Uno and Arduino Mega 2560 - Bluetooth HC-05, HC-06 Command/ Master Mode and AT Commands