Page 1 of 1

Working with BLE module

Posted: Thu May 21, 2020 9:58 am
by therealsdk2k18
Hi,
I am not able to connect to freematics one through bluetooth. I just uploaded the below code.

Code: Select all

#include <SoftwareSerial.h>
SoftwareSerial Bluetooth(0,1); // RX, TX

void setup() {
Serial.begin(9600);
Serial.println("start1");
Bluetooth.begin(9600);
Bluetooth.write("start2");
}

void loop() {
Serial.println("loop1");
if(Bluetooth.isListening()) {
  Bluetooth.write("loop2");
}
delay(1000);
}
Can someone help me with this?

Re: Working with BLE module

Posted: Sun May 31, 2020 1:34 pm
by casas_7
I am also interested on how to pair with BLE. Send and Receive data as well. I don't think I saw this example code in the firmware V_5.