Hello, I have opened this topic before, but the topic was closed even though I responded instantly, so I opened a new topic since I could not respond to the topic.
Hello, I am reading data over TCP socket and the data comes to me like this. But the incoming data includes coordinate data, speed, etc. they all return to zero.
Why does the data sound like this? We connected via GPSGateserver and the data comes there correctly. There is a problem with the data coming to me. What is the reason? I don’t think there is a problem when parsing, I do it as follows.
What is the reason why these values are zero?
TimeStampt value shows July 2023 instead of February 2024.
0000018973D53178. Does a device that is indoors not provide up-to-date data?
My 2nd Question: Dates and location information are always up to date on GPSGateServer.
Some of the devices I tested are devices that I control while driving. Not in a closed area.
Available in indoor devices. But why do open-air devices throw data like this?
Data field length = 1215 bytes
Codec type = 8E
Number of records = 6
Timestamp = 0000018973D53178
Recording priority = 00
Longitude = 00000000
Latitude =00000000
Height = 0000
Angle = 0000
Satellite = 00
Speed = 0000
EventId = 0000
Total I/O items in the register 1 = 13
My 3rd Question: The devices are connected to my server with 7355 port. Now, while sending commands to the devices, can I send data from a different port via TCP by providing the IP and port information of the relevant TFT100 device? Does the device allow this or can commands be sent via the server port it is connected to?
If you need online support please create an HD ticket or contact your sales manager.
If you don’t have any contacts with our Sale managers, please contact with them on our official website https://teltonika-gps.com/ and click on the “Contact Us” button. When you will click, please fill the form and submit it. Note: as a topic, please choose “Vehicle telematics”. Or you can send an e-mail with description of your situation to us: Teltonika - IoT, Internet of Things
Hello, I have solved the process, the devices’ sending and receiving data process is complete.
Thank you.
I want to ask one last question. In some packages, device data is missing. For example, battery percentage. Sometimes it comes, sometimes it does not, or some AVL IDs do not come at all, even though the device supports it. What is the reason of this?
Hello, I am already using these applications.
The question I am asking is actually sending and receiving data with UART UUID and tx rx characteristic information after connecting to the device.
I am establishing a connection to the device while sending data.
var ServiceUART_UUID = 6E400001-B5A3-F393-E0A9-E50E24DCCA9E
var txCharacteristics = 6E400002-B5A3-F393-E0A9-E50E24DCCA9E
var RxCharacteristics = 6E400003-B5A3-F393-E0A9-E50E24DCCA9E
But after sending data to the device, I cannot receive any response.
@sms_dbg:getinfo
I don’t get any reaction when I type.
But Other BluefruitConnect app etc. When I send this command with different UART mode supported applications, I can receive data safely.
When I send data, do I need to send it according to the codec8 standard? That’s my real question. Or is it enough to send it directly?
If you are going to send @sms_dbg:getinfo make sure that you put 2 spaces after @sms_dbg: if you didn’t configure the username and password for SMS commands
For example:
@sms_dbg:abc abc getinfo
@sms_dbg: getinfo
By default, the SBT app displays text and sends text commands to any external Bluetooth device, so we will just send the commands directly from the app.
FlutterBluePlus is a Bluetooth Low Energy plugin for Flutter.
It connects via Bluetooth Low Energy using this package. Does this pose a problem?
I am connecting to the device, but while sending commands. Just no reaction. The commands do not do anything on the device. Is the screenshot you posted the solution?
In any case if it didn’t work, please contact your sales manager or the local Teltonika support team from your region, so that we can analyze the issue further.
If you don’t have any contacts with our Sale managers, please contact with them on our official website https://teltonika-gps.com/ and click on the “Contact Us” button. When you will click, please fill the form and submit it. Note: as a topic, please choose “Vehicle telematics”. Or you can send an e-mail with description of your situation to us: Teltonika - IoT, Internet of Things When contacting Us, please provide: IMEI
Logs
Configuration file
Intenational GSM number
Firmware version
ect ,
I sent you a screenshot.
Here it says GATT_SUCCESS, meaning access to the device and sending commands are successful.
But there is no reaction in the device. When I send a request to the device from UART mode with a different application, the device reacts successfully with commands etc.
“@sms_dbg: mcan_cmd:0\n”
It was necessary to complete 22 bytes. I provided the solution by adding a space character at the end of the commands. All commands are working now.