Layer2/3 Misc apps

Peter Stuge peter at stuge.se
Wed Apr 17 00:42:59 UTC 2013


R. Revert wrote:
> ****
> Failed to connect to '/tmp/osmocom_sap'.
> Failed during sap_open(), no SIM reader
> ****
> when i try to find this file is not created.

You can always reverse engineer the source code. I think it will be
infinitely faster than waiting for someone to do it for you and tell
you what they discovered.

~ $ cd /tmp
/tmp $ git clone git://git.osmocom.org/osmocom-bb.git
Cloning into 'osmocom-bb'...
remote: Counting objects: 19449, done.
remote: Compressing objects: 100% (5614/5614), done.
remote: Total 19449 (delta 13604), reused 18573 (delta 12910)
Receiving objects: 100% (19449/19449), 3.39 MiB | 427 KiB/s, done.
Resolving deltas: 100% (13604/13604), done.
/tmp $ cd osmocom-bb/
/tmp/osmocom-bb $ git grep osmocom_sap
src/host/layer23/src/common/main.c:static char *sap_socket_path = "/tmp/osmocom_sap";
src/host/layer23/src/common/main.c:             printf("  -S --sap             /tmp/osmocom_sap. Path to the "
src/host/layer23/src/mobile/settings.c:static char *sap_socket_path = "/tmp/osmocom_sap";
src/host/layer23/src/mobile/vty_interface.c:    "Unix socket, default '/tmp/osmocom_sap'")
/tmp/osmocom-bb $ 


//Peter




More information about the baseband-devel mailing list