digitaldanny / AudioEffectsGlove

A hand tracking glove that controls parameters of various audio effects.
1 stars 0 forks source link

Glove-side Bluetooth Communication - Implementation #35

Closed digitaldanny closed 3 years ago

digitaldanny commented 3 years ago

Describe the solution you'd like

At this point, the drivers should already exist for sending/receiving a byte of data between the microcontroller and the desktop. There likely is also already a desktop-side script for testing that the communication works. This script could be improved to test that the messages are being correctly encoded/decoded according to the decided message protocol.

Additional Context

digitaldanny commented 3 years ago

Will be moving the HC-05 drivers into its own file rather than trying to make the functions fit into the WirelessApi. None of the functions translate well between the HC-05 and server/client Wi-Fi models.

digitaldanny commented 3 years ago

This YouTube video shows how to set up Master/Slave communication between two HC-05 modules.

digitaldanny commented 3 years ago

After I complete the HC-05 unit test on the DSP-side, I can confirm whether my message protocol requires a checksum to ensure correct message transfers.

1-byte Fast, Simple Checksum

Checksum Basics - YouTube