Commit Graph

11 Commits

Author SHA1 Message Date
Harald Welte dd4a64b881 atcop_test: Make example actually work
The reason it wasn't working so far is that the baseband firmware
appears have a compile-time white-list of AT commands for which the AT
command forwarding is permitted.  Any other commands are rejected with
error 48 (invalid argument) :/
2016-12-25 22:36:44 +01:00
Harald Welte cdc4f97ab5 qmuxd_wrapper: Fix stream_append()
we want to copy to the actual buffer... One ampersand less.
2016-12-25 22:00:00 +01:00
Harald Welte 897ac5238e qmuxd_wrapper: reduce logging by adding a compile-time DEBUG option 2016-12-25 21:52:06 +01:00
Harald Welte f44b9565bb qmuxd_wrapper: Make hexdump buffer thread-local, to be on the safe side 2016-12-25 21:47:39 +01:00
Harald Welte f8a57056b2 qmuxd_wrapper: Add some protocol decode logic; fix recv/read bugs
we need to actually first call libc's read/recv and then interpret the
data, rathe than interpretting the uninitialized buffer ;)
2016-12-25 21:46:33 +01:00
Harald Welte daacff9106 qmuxd_wrapper: Reduce dlsym() load (don't call it again and again) 2016-12-25 18:13:11 +01:00
Harald Welte 03c523884e qmi_test: some more debug output so it can be correlated with qmuxd traces 2016-12-25 17:23:15 +01:00
Harald Welte 377d3cf830 add a LD_PRELOAD wrapper to trace client <-> qmuxd communications 2016-12-25 17:23:15 +01:00
Harald Welte 27b3620fa5 remove qmi.txt it has moved to wiki 2016-12-17 12:35:56 +01:00
Harald Welte 5a1a228d84 add (non-functional) example registering an AT command 2016-11-06 20:59:02 +01:00
Harald Welte 272f4318b5 initial import of qmi_test.c reading out the device IMEI 2016-11-06 19:23:17 +01:00