Working with BLE module

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
therealsdk2k18
Posts: 3
Joined: Wed Apr 08, 2020 11:46 pm

Working with BLE module

Post 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?
casas_7
Posts: 4
Joined: Fri Apr 17, 2020 2:34 pm

Re: Working with BLE module

Post 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.
Post Reply