I'm really trying to make two-way communication system using LoRa.
What client will send to server is GPS data(latitude, longitude)
I'd like to make the system like this.
Dragino LoRa GPS Tracker : 13 Steps (with Pictures) - Instructables
this site says client and server consist of like this as below
- Client Side: Arduino + [Lora/GPS Shield] (868Mhz).
- Server Side: Arduino + [Lora Shield] (868Mhz) + Yun Shield + USB flash.
I made client side exactly the same as I mentioned above.
But I made server side that consists of [Yun.rev2] + [Lora Shield] (868Mhz)
The reason why I use [Yun.rev2] is ... [Yun.rev2] can be a Arduino as well as Yun shield.
And I connected [Yun.rev2] with my notebook successfully.
I checked server side's port related to [Yun.rev2] which is 서버에 연결되어 있는 포트 이름
and selected 서버보드이름 as server side's board
and 클라이언트에 연결되어 있는 포트이름, 클라이언트보드이름 for client side.
my code for client as below
my code for server as below
but I think there's some error.
We've got this on Serial Monitor
Actually, we want to get this on server's serial monitor
I'm having trouble in finding error. Please help novice