How to setup server for SMS communication for Teltonika FMB920 - server

I am tring to create a vehicle tracking system based on GPS & GMS using Teltonika FMB920 tracking device. I am a bit confused on following things:
How to setup the server for communicating with the device.
How to save the data sent from the device on the server.
Can I use any cloud platform like Azure or AWS IoT features for this purpose.
Any guidance in this regard will be really helpful for me.

How to setup the server for communicating with the device.
Teltonika fmbxxx typically send data using websockets TCP or UDP protocol. To setup the server correctly, the port that will be listening for data needs to be opened in the server and the server address and port need to be configured on the device with the teltonika configurator tool
how to update server settings in configurator tool
How to save the data sent from the device on the server.
This depends on your use case but a good idea could be to use nosql database to save the data from device received by the server since its easier to scale when data size grows and easy to query and read the data
Can I use any cloud platform like Azure or AWS IoT features for this purpose.
AFAIK yes you can. essentially what is need is server instance with a websocket client application that can receive data from tcp/udp protocol

Related

How to write an online socket server for a gsm based project?

I am developing a project about gps. I am trying to read the location from satellite and want to send them a server by using sockets. My module 'a9g' can read the location and send the things to a server.I have a domain and hosting. Now, I am trying to write a socket server which listens and accepts socket requests and can receive and transmit data. After, I will deploy it to the internet. I tried to do it in asp.net core websockets but my device can't connect to server that I wrote. I can't figure out which programming language should I use and how can I write and deploy a server. (My hosting is windows server.) I will add some photos of my microcontroller's functions and an example server.
Functions:
Socket Functions of microcontroller 1
Socket Functions of microcontroller 2
Socket Functions of microcontroller 3
There is an example server of ai-thinker: http://tt.ai-thinker.com:8000/ttcloud
I need exactly something like that. I have to accept many clients(my modules) and data exchanges between server and them. Could you help me how can I do that?
Additional notes:
1. I can connect the ai-thinker's example server. Send, read data from there.
2. I need to deploy it to my hosting server, so it should work on internet not only locally.

Video call on Unity with WebRTC without server

I'd like to make a video call app using WebRTC on Unity. I have investigated almost of the WebRTC services and found out that the WebRTC services require "my own server" for authentication(to give users privileges to access the server). Some companies even say "no server needed" but I actually had to register my server domain to use their services - sounds weird...
my questions are :
why do we need to prepare server (It seems the service provider could have prepared auth servers as well)
Is there any WebRTC service as a complete sever bundle(really woking with client-side app only)
Thanks.
For webrtc you need at at least to exchange the candidate between the peer to allow them to connect (it's called signaling int the webrtc architechture), you also need server to handle network path if nat doesn't allow it (stun/turn server).
There is a lot of server and client depending on your use case complexity and stack. (kurento, Freeswitch, peerJs server ... )

Python & Flask Push Messages

I am developing a sort of IoT type system, where there is control software, a server, and client devices (which are embedded linux devices).
I have a flask server running a REST web service. Control software sends messages for a specific device to the flask web service running on the server. When these messages are received, they are stored in a database.
Client devices poll the sever to determine if there is a new message waiting for the device. This works well but becomes prohibitive as the number of devices grows.
I'd like to find a way to have the messages sent directly from the server to the device as they are received at the server. Is there a simple way to add this functionality to flask? This seems a bit like push notifications.
Is it possible to have each device open a socket like communication to the server and keep it open? Is this a bad idea if I just use TCP sockets for this?

Can any AWS capture data that sent via GPS tracker using a tcp socket connection?

I wonder if there is any service in Amazon Web Services that i can use to catch the GPS data that send from my GPS tracker to a specific host:port or domain:port ?
My device is not a MQTT client so i can't use AWS IOT
Is EC2 the only choice ?
I want to integrate those GPS information in my web app ,right now it's in heroku hosting but i plan to transfer it to AWS if i solve this issue.
I am not familiar with the interfaces that your GPS trackers use. However, provided that you open the IP / Port in your security group so that your GPS tracker can connect to your own software, it will work.
[EDIT after question]
There are many ways (and services) in Amazon to capture data. The real answer depends on how your GPS tracker is connecting to an endpoint, how it is sending data and what interface it expects.
If your tracker supports using a REST style interface, you could use API Gateway with Lambda to process your tracker data and store in DynamoDB, S3, etc. Kinesis Firehose might be another service that could work.

Data transfer Windows Embedded Compact 7 & Computer VIA USB connection

I made an app using the barcoding for inventory management, now i need to transfer that data to the computer. For this purpose i used TCP/IP Host client sample applications given in windows mobile 6.5.3 SDK samples.
When i run the application its' fine no errors, shows connected to the Host IP but no data is transferred, When i debugged there is no exception code just works fine but there is no functionality performed. My connection is USB connection. IP shown in host application is correct, my device is also having IP (check through ipconfig). Now when i ping my host computer from device, it is giving error
PING: transmit failed, error code 11010
Is my approach right towards this situation using this data transfer over this socket ? If yes then how can i make this connection successful ? If not what is the other solution for this data transfer from device to computer. (software on device is using SQL CE and application on computer is ASP.NET application using SQL Server database.)
I saw various similar questions about this problem but unable to find any suitable solution. PS i am new this platform of windows mobile/embedded
If not what is the other solution for this data transfer from device
to computer. (software on device is using SQL CE and application on
computer is ASP.NET application using SQL Server database.)
These are some common solutions for client/server communications on Windows Mobile:
Use RAPI or RAPI2 to communicate with the mobile device and host PC using the USB ActiveSync/Windows Mobile Device Center connection. You could use this option to export a CSV file from the mobile device to the host PC. Then you can import the CSV file into the host database. Requires physical access to host PC via USB.
Call a web service to transmit the data to the server. You can write a simple RESTful web service using ASP.NET Web API. If you're using C++ you can use WinInet API, but it's kind of painful. If you're using C# then you have built-in support and it's not an issue.
Use SQL CE Replication.