Skip to content

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Nov 4, 2020

This python script allows to encode the Serial debug output into a format that can be analyzed by wireshark and hcidump

Steps to debug:

  • modify the sketch attaching Serial to BLE debug 'BLE.debug(Serial)'
  • execute the sketch and open the arduino serial monitor
  • save the content of the serial monitor in a file (here 'inputFile')
  • execute the script with the following arguments: -i to specify the input file, -o to specify the output file
    python your/script/path/arduino-ble-parser.py -i inputFile -o outputFile
  • using wireshark, simply open outputFile

…gh wireshark

This python script allows to encode the Serial debug output into a format that can be analyzed by wireshark and hcidump

Steps to debug:
- modify the sketch attaching Serial to BLE debug 'BLE.debug(Serial)'
- execute the sketch and open the arduino serial monitor
- save the content of the serial monitor in a file (here 'inputFile')
- execute the script with the following arguments: -i to specify the input file, -o to specify the output file
  'python your/script/path/arduino-ble-parser.py -i inputFile -o outputFile'
- using wireshark, simply open outputFile
@facchinm facchinm merged commit fb4ecf1 into arduino-libraries:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants