FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,248 views
in Vehicle tracking by

Hi I'm trying to connect an arduino based data logger with a BLE module from sparkfun Bluesmirf and dump logged data periodically to FMB204 to be uploaded to server.

Is this possible? What format should my data be in to sent to FMB204 ? What mode should I pair the device in ?

I'm trying to send 400-500 records of 8-9 floats at once every day from arduino to FMB204

Currently I have it paired on FMB204 and when I send data to FMB204 I can see the status light flash faster so it looks like data is being received on the FMB204 but I'm not sure if the data is being stored or transmitted to server ?

When I connect to the teltonika PC app the records are empty and manually read the records it shows empty.

Here is an image of my current configuration. 

2 Answers

0 votes
by anonymous

Hello,

BT Data link mode is enabled by Configurator “Data Link” parameter: When Data Link is configured and FMB has a link with server, paired device could send messages via Bluetooth SPP profile directly to server. Messages will be encoded by codec12. Check on your server side what data is being received also check Codec12 documentation @  https://wiki.teltonika-gps.com/view/Codec#Codec_12 

Hope this will help or put you on right track. 

Best regards, 

Teltonika support

by

Thank you for your reply, 
I have been attempting to do just that but cannot see the data getting to server, I connected to serial monitor of FMB204 to see the messages and this comes up every time I send any data from my bluetooth device. The error is not clear to me, what is the cause of this error?> 
 

[2020.02.20 21:09:43]-[NETWORK] ERROR @ m2m_network_api.c(2499):[SEND.DATA.0149] Error: 4

[2020.02.20 21:09:43]-[NETWORK] [ERROR.HANDLER.0149] Caller: 4/send data, code: 4

[2020.02.20 21:09:43]-[TSK.BL] WARNING @ 151:Failed to send codec12 packet 4

[2020.02.20 21:09:43]-[NETWORK] ERROR @ m2m_network_api.c(2499):[SEND.DATA.0149] Error: 4

[2020.02.20 21:09:43]-[NETWORK] [ERROR.HANDLER.0149] Caller: 4/send data, code: 4

[2020.02.20 21:09:43]-[TSK.BL] WARNING @ 151:Failed to send codec12 packet 4

by
Thank you for your reply,
I have been attempting to do just that but cannot see the data getting to server, I connected to serial monitor of FMB204 to see the messages and this comes up every time I send any data from my bluetooth device. The error is not clear to me, what is the cause of this error?>
 

[2020.02.20 21:09:43]-[NETWORK] ERROR @ m2m_network_api.c(2499):[SEND.DATA.0149] Error: 4

[2020.02.20 21:09:43]-[NETWORK] [ERROR.HANDLER.0149] Caller: 4/send data, code: 4

[2020.02.20 21:09:43]-[TSK.BL] WARNING @ 151:Failed to send codec12 packet 4

[2020.02.20 21:09:43]-[NETWORK] ERROR @ m2m_network_api.c(2499):[SEND.DATA.0149] Error: 4

[2020.02.20 21:09:43]-[NETWORK] [ERROR.HANDLER.0149] Caller: 4/send data, code: 4

[2020.02.20 21:09:43]-[TSK.BL] WARNING @ 151:Failed to send codec12 packet 4
0 votes
by
hey, any news for your probleme?

Please i have two analog sensors read by arduino, and i want to send data to FMC130 teltonika device by bluetooth (hc-06)to send it to server. is that possible? thank you