EHSx Java RecordStore vs. SFSA and SAFH paths | Telit Cinterion IoT Developer Community
January 3, 2018 - 1:41pm, 1718 views
Hi!
Is there a good way to use the Java Recorstore Class to store AMR audio file data that can be
played back using the AT^SAFH (e,g, AT^SAFH=0,"a:/vp/file1.amr")
What is the relation between the paths between:
AT^SFSA command paths (supports recording and playback)
AT^SAFH command paths (supports storing externally made AMR files)
Paths generated using the RecordStore Class (could be used to store and playback AMR files)
Best regards,
Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hello,
AT^SAFH for amr files recording and playback uses the same path format as AT^SFSA for flash file system access.
RecordStore API does not use the path on file system. The data is stored in a separate space and you can't access the RecordStore file with FileConnection or AT^SFSA.
I can't see any relation between RecordStore and AT^SAFH. Do I miss something? Please explain.
Best regards,
Bartłomiej
Hello,
The main question is how to access and run the AMR files most easily from Java. Of course, it is also possible to run the AT commands inside Java, if that is the best and easiest way.
Best Regards,
Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Hello,
This voice prompts functionality is only available with this AT command so you have no choice.
Regards,
Bartłomiej