I am trying to develop a app using app inventor. App inventor has a extension (library) dedicated to BLE. My app (mobile- android) .
My App, do the scan, detect the BC118 development kit and connected to it and aldo send a string . I can see the string being received at BC118 (The BC118 development kit is conected in my computer - COM8 and I am monitoring it using a terminal app - Putty).
Now I want to do the reverse, I want to send a text from the terminal (BC118) to my App (mobile). I apply the command SND “String” on my terminal (Putty app), It appears the msg OK, but nothing is received on my App (Mobile).
Does it have a special command for it?
Do I need to send others command before send the SND ?
What firmware are you using in your unit? Do you see the unsolicited responses with regards a connection coming through? below is an example of a basic connection.
rst
Melody Smart v3.7.4
BlueCreation Copyright 2012 - 2015
www.bluecreation.com
READY
CON=OK 56C5F6878B80 1 //Phone connected to unit
CONP=0027 0000 07D0
DCN=CF
CON=OK 56C5F6878B80 1
CONP=0027 0000 07D0
CONP=0010 0000 04E2
CONP=0006 0000 07D0
CONP=0010 0000 04E2
CONP=0027 0000 07D0
DCFG=NOT
RCV=abc //Send data from phone app to BC118
snd 123 //Sent data from BC118 to phone app
OK
I mean go into your phone BT setting and delete any pairing that there may be there to ensure any pairing that occurs happens with clean addresses, etc.