The weather is very bad here this weekend so I started adding some functionality to my Android APP ( TTLiveTrack24 https://goo.gl/jWdY31 ) related to Kobo and LK8000
1) Sending GPS to kobo using a client socket ( kobo should be the server on port 4353 ). If the phone has a barometric sensor also barometric height is sent via a Digifly driver $PDGFTL1
2) Sending FLARM nmea data using data from livetrack24 info API v2
3) Playing LK8000 sounds
Each feature can be activated independently and just yesterday I did 90% of the work.
My question here is about third point:
To reproduce exactly all LK8000 sounds I used a sound table like this one:
DEFAULT=
CABINCHIME12F=LKALARM,1
CABINCHIME12= LKALARM,2
CABINCHIME1B= LKALARM,3
CABINCHIME1C= LKALARM,4
CABINCHIME1= LKALARM,5
CABINCHIME21= LKALARM,6
….
Using exactly the sound_id in LK8000 and then adding all LK8000 wav file to the assets of my APP. So I have exactly all LK8000 sounds and every thing is working fine.
Unfortunately, there is not a default behaviour in LK8000 for nmea output sentences but only custom sentences using SOUND_TABLE.txt . So I will have to ask TTLiveTrack24 users to put my SOUND_TABLE.txt to to Kobo.
My proposition is:
If SOUND_TABLE.txt is not found on the system a default and embedded ( using LK8000 id's ) “SOUND_TABLE.txt” will be used. This I think will not affect current external devices but will guide new devices developer to use LK8000 defaults.
I do not know if this can have some other side effects ... any feedback is appreciated.
Tony