Error: 2-Transmiting-Sensor Data via Bluetooth Example

There are extensive debug tools that could be used, but that will take time to use and learn.

I could try to debug, but then next to the exact error message (as you provided) I also need the .map-file that is created in the temporary directory that is used during the build of the sketch (based in /tmp for linux). That map-file will contain the different addresses used for functions and variables for that sketch build. Based on the PC in the error message, it might give a clue.

You could also try to set in setup() breakpoints e.g. while(1); loop. That way you can discover whether this was a loading problem or an execution aspect and when it fails.

An often-made misunderstanding is that the central is the sending (server) and the peripheral is the receiving (client). It is completely the opposite. Peripheral is server/sending, central is client/receiving. Also see https://www.arduino.cc/reference/en/lib … rduinoble/

The example2 sketches are correct. I have taken both and put the peripheral on my Artemis ATP and the central on Artemis Micromod. Both use SVL5.

They compiled without error and worked without error. In the peripheral, I added a simulation (sending a counter), but it also worked with nothing connected to A0. Attached are the sketches I used. See whether the peripheral works for you as well. Else try providing the mapfile and exact error message.

example2_.zip (4.43 KB)