[Help Requested] Embedded GPS info

Post Reply
User avatar
F1RMB
Posts: 2868
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

[Help Requested] Embedded GPS info

Post by F1RMB » Thu Jan 02, 2020 4:17 am

Hi all,

I would like to know if someone here knows where I can get some embedded GPS info in-frame (BM TG), or if someone is equipped for this (AFAIK, that doesn't work with chinese HTs, but Hytera ones seems supported), and agree to make some tests with me.

Cheers.
---
Daniel

Joshoa

Re: [Help Requested] Embedded GPS info

Post by Joshoa » Fri Jan 31, 2020 4:10 am

Hello

I am an owner of AnyTone AT-D868UV
This HT has GPS and capable of doing digital APRS
Correct me if i wrong but you are looking for a sample of the data packet that contain GPS location data?
If yes - i might be able to help you with that

Also, as far as i know, there is no GPS in GD-77 which is a shame
It would be a great feature in that nice HT
At some moment in time i was thinking that if you guys are so proficient in firmware creation, than it may be possible to add dAPRS in to it?
Hardware wise it should not be an extremely hard task - modern GNSS/GPS modules are small, lightweight and consume not that much of an energy
Standard NMEA protocol is also pretty easy to decode
So it seems to me that you are exploring this idea
Am i right?

Joshoa

SP2ONG
Posts: 45
Joined: Sat Nov 16, 2019 9:47 am

Re: [Help Requested] Embedded GPS info

Post by SP2ONG » Fri Jan 31, 2020 10:37 am

And he can also enter options in CPS for entering coordinates manually and if they are GD-77 will send dAPRS positions
or, for example, from the OpenGD77 menu control on the radio, you enter coordinates or maybe the locator grid which will be used to convert to the coordinates of the center of the square and send the dAPRS position. Some radios that have GPS allow you to enter the coordinates manually instead of those taken from GPS

ea3ihi
Posts: 87
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Re: [Help Requested] Embedded GPS info

Post by ea3ihi » Fri Jan 31, 2020 12:00 pm

Hello Daniel, I can capture some dmr frames with my hotspot, the anytone 878uv, and some of my nodejs based utilities which allows me to run my own server. Do you have some special requirements for the capture?

I attach a sample of how the data will look like.


David
Attachments
2019_10_18_21_56_22_2143827-21463-2817141022.dat
(56.14 KiB) Downloaded 328 times

User avatar
F1RMB
Posts: 2868
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: [Help Requested] Embedded GPS info

Post by F1RMB » Fri Jan 31, 2020 12:31 pm

Hi David,
ea3ihi wrote:
Fri Jan 31, 2020 12:00 pm
Hello Daniel, I can capture some dmr frames with my hotspot, the anytone 878uv, and some of my nodejs based utilities which allows me to run my own server. Do you have some special requirements for the capture?

I attach a sample of how the data will look like.


David
It would be nice to comment some field in the attached data, until callType (which looks like TG), it's fine, but after that it's unclear to me.

About defining a Maidenhead locator (short version, 6 chars) in the settings, and sending converted coordinates packed into a handmade LC 0x08 data packet wouldn't be that complicated (we are already able to send TA), but I need Roger's advice for this.

Cheers.
---
Daniel

ea3ihi
Posts: 87
Joined: Fri Jan 10, 2020 9:28 pm
Location: Barcelona, Spain

Re: [Help Requested] Embedded GPS info

Post by ea3ihi » Fri Jan 31, 2020 3:00 pm

Helo, find attached some dmr frames with aprs data sent to the tg 214999 which is the one we use in Spain.

{"signature":"DMRD","seq":4,"source":2143827,"destination":214999,"repeaterId":2143827,"slot":1,"callType":1,"frameType":2,"dataType":6,"voiceSeq":6,"streamId":3541696321,"data":{"type":"Buffer","data":[67,254,21,44,67,219,115,219,162,35,39,171,5,141,93,127,119,253,117,115,56,89,112,74,250,129,7,131,195,134,17,180,155,0,52]}}

Calltype: TG or PC

FrameType: enum DMRFrameType {
VOICE,
VOICE_SYNC,
DATA_SYNC,
UNUSED
}

DMRDataType: enum DMRDataType {
PRIVACY_INDICATOR,
VOICE_HEADER,
VOICE_TERMINATOR,
CSBK,
MULTIBLOCK,
MULTIBLOCK1,
DATA,
RATE12DATA,
RATE34DATA,
IDLE,
BURST_A,
BURST_B,
BURST_C,
BURST_D,
BURST_E,
BURST_F
}


dataType and voiceSeq are the same, just two names of the same data field and its meaning depends if is voice or data.

The information contained should be something like:
41.399901N
002.183680E
2020-01-31
15:57:21
V0.0M/S
H19.1

Hope it is helpful

David
Attachments
2020_0_31_14_47_23_2143827-214999-758093909.dat
(438 Bytes) Downloaded 301 times
2020_0_31_14_47_24_2143827-214999-3541696321.dat
(3.84 KiB) Downloaded 312 times
2020_0_31_14_47_23_2143827-214999-3984822337.dat
(442 Bytes) Downloaded 326 times

User avatar
F1RMB
Posts: 2868
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: [Help Requested] Embedded GPS info

Post by F1RMB » Fri Jan 31, 2020 3:07 pm

Hi David,
ea3ihi wrote:
Fri Jan 31, 2020 3:00 pm
Helo, find attached some dmr frames with aprs data sent to the tg 214999 which is the one we use in Spain.

{"signature":"DMRD","seq":4,"source":2143827,"destination":214999,"repeaterId":2143827,"slot":1,"callType":1,"frameType":2,"dataType":6,"voiceSeq":6,"streamId":3541696321,"data":{"type":"Buffer","data":[67,254,21,44,67,219,115,219,162,35,39,171,5,141,93,127,119,253,117,115,56,89,112,74,250,129,7,131,195,134,17,180,155,0,52]}}

Calltype: TG or PC

FrameType: enum DMRFrameType {
VOICE,
VOICE_SYNC,
DATA_SYNC,
UNUSED
}

DMRDataType: enum DMRDataType {
PRIVACY_INDICATOR,
VOICE_HEADER,
VOICE_TERMINATOR,
CSBK,
MULTIBLOCK,
MULTIBLOCK1,
DATA,
RATE12DATA,
RATE34DATA,
IDLE,
BURST_A,
BURST_B,
BURST_C,
BURST_D,
BURST_E,
BURST_F
}


dataType and voiceSeq are the same, just two names of the same data field and its meaning depends if is voice or data.

The information contained should be something like:
41.399901N
002.183680E
2020-01-31
15:57:21
V0.0M/S
H19.1

Hope it is helpful

David
Yeah, I will look closer. Thanks for all the details.

Cheers.
---
Daniel

VK3KYY
Posts: 8143
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: [Help Requested] Embedded GPS info

Post by VK3KYY » Wed Sep 06, 2023 3:35 am

Joshoa wrote:
Fri Jan 31, 2020 4:10 am
Hello

I am an owner of AnyTone AT-D868UV
This HT has GPS and capable of doing digital APRS
Correct me if i wrong but you are looking for a sample of the data packet that contain GPS location data?
If yes - i might be able to help you with that

Also, as far as i know, there is no GPS in GD-77 which is a shame
It would be a great feature in that nice HT
At some moment in time i was thinking that if you guys are so proficient in firmware creation, than it may be possible to add dAPRS in to it?
Hardware wise it should not be an extremely hard task - modern GNSS/GPS modules are small, lightweight and consume not that much of an energy
Standard NMEA protocol is also pretty easy to decode
So it seems to me that you are exploring this idea
Am i right?

Joshoa
What is your callsign ? Accounts without callsigns will soon be purged

Post Reply