From laforge at gnumonks.org Fri Feb 13 07:10:12 2015 From: laforge at gnumonks.org (Harald Welte) Date: Fri, 13 Feb 2015 08:10:12 +0100 Subject: Announcing OsmoDevCon 2015 Message-ID: <20150213071012.GF20121@nataraja> Dear Osmocom.org project members, I'm happy to be able to announce the annual incarnation of OsmoDevCon. The Date is set for March 27 through 30. Venue: As usual, IN-Berlin e.V. in Berlin, Germany. Further details can be obtained from http://openbsc.osmocom.org/trac/wiki/OsmoDevCon2015 Attendance, as usual, is restricted to people with an active history in the Project by contributions in terms of code, patches, discussions, documentation or in other form. = Registration = If you have wiki access, please add yourself to the #Requested section. Alternatively, you can send me private e-mail about it. After review, your (nick)name will be listed in the #Confirmed section. Looking forward to meeting all of you again soon! -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From francoip at stud.ntnu.no Mon Feb 16 15:06:20 2015 From: francoip at stud.ntnu.no (francoip) Date: Mon, 16 Feb 2015 16:06:20 +0100 Subject: Mobile app hangs depending on SIM Message-ID: <73613ecd2631460182248b56b9e07274@stud.ntnu.no> Hello list, I'm playing with the mobile application of OsmocomBB. I have two SIM cards of two different operators. Everything works fine with one of them, but it doesn't with the other one. Layer1 hangs there: SIM Request (7): a0 a4 00 00 02 6f 30 SIM Response (2): 9f 0f SIM Request (5): a0 c0 00 00 0f SIM Response (17): 00 00 00 f6 6f 30 04 00 11 ff ff 01 02 00 00 90 00 SIM Request (5): a0 b0 00 00 f6 and mobile hangs there: <0005> subscriber.c:600 Requesting SIM file 0x6f30 <000f> sim.c:209 got new job: SIM_JOB_READ_BINARY (handle=00000004) <000f> sim.c:241 SELECT (file=0x6f30) <000f> sim.c:187 sending APDU (class 0xa0, ins 0xa4) <000f> sim.c:876 received APDU (len=0 sw1=0x9f sw2=0x0f) <000f> sim.c:949 command successfull <000f> sim.c:571 GET RESPONSE (len=15) <000f> sim.c:187 sending APDU (class 0xa0, ins 0xc0) <000f> sim.c:876 received APDU (len=15 sw1=0x90 sw2=0x00) <000f> sim.c:949 command successfull <000f> sim.c:1065 selected file (len 246) <000f> sim.c:277 READ BINARY (offset=0 len=246) <000f> sim.c:187 sending APDU (class 0xa0, ins 0xb0) So, as I understand it, it tries to read the PLMN selectors from SIM but does not get any answer and the callback function is not called. Also, when using the command "off", everything shuts down with the first SIM, but I have to use ctrl-c for the second one after mobile hangs here: <000f> sim.c:1234 exit SIM client I have the last versions of libosmocore and osmocom-bb in the master branch, and I enabled TX support. I also tried to set my IMEI in the mobile.cfg file but this does not change anything. The config file is joined as well. Did I forget something? Do you have an idea? Thank you! From normand at linux.vnet.ibm.com Wed Feb 18 14:34:18 2015 From: normand at linux.vnet.ibm.com (Michel Normand) Date: Wed, 18 Feb 2015 15:34:18 +0100 Subject: [PATCH] avoid smscb test failure for ppc/ppc64 archi Message-ID: <1424270059-22968-1-git-send-email-normand@linux.vnet.ibm.com> proposed same patch as already submitted for opensuse at https://build.opensuse.org/request/show/286595 Michel Normand (1): avoid smscb test failure for ppc/ppc64 archi include/osmocom/gsm/protocol/gsm_03_41.h | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 1.7.9.5 From normand at linux.vnet.ibm.com Wed Feb 18 14:34:19 2015 From: normand at linux.vnet.ibm.com (Michel Normand) Date: Wed, 18 Feb 2015 15:34:19 +0100 Subject: [PATCH] avoid smscb test failure for ppc/ppc64 archi In-Reply-To: <1424270059-22968-1-git-send-email-normand@linux.vnet.ibm.com> References: <1424270059-22968-1-git-send-email-normand@linux.vnet.ibm.com> Message-ID: <1424270059-22968-2-git-send-email-normand@linux.vnet.ibm.com> as reported on https://build.opensuse.org/request/show/286595 libosmocore 0.7.0 avoid smscb test failure for ppc/ppc64 that is big-endian x === x 7. testsuite.at:45: testing smscb ... x ./testsuite.at:48: $abs_top_builddir/tests/smscb/smscb_test x --- expout 2015-02-17 16:19:24.010024039 +0000 x +++ /home/abuild/rpmbuild/BUILD/libosmocore/tests/testsuite.dir/at-groups/7/stdout x @@ -1,4 +1,4 @@ x -(srl) GS: 1 MSG_CODE: 1 UPDATE: 0 x +(srl) GS: 0 MSG_CODE: 256 UPDATE: 1 x (msg) msg_id: 1293 x -(dcs) group: 1 language: 0 x +(dcs) group: 0 language: 1 x (pge) page total: 1 current: 1 x 7. testsuite.at:45: 7. smscb (testsuite.at:45): FAILED (testsuite.at:48) x === Signed-off-by: Michel Normand --- include/osmocom/gsm/protocol/gsm_03_41.h | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/include/osmocom/gsm/protocol/gsm_03_41.h b/include/osmocom/gsm/protocol/gsm_03_41.h index 0ece6cc..af00503 100644 --- a/include/osmocom/gsm/protocol/gsm_03_41.h +++ b/include/osmocom/gsm/protocol/gsm_03_41.h @@ -11,6 +11,26 @@ #define GSM341_7BIT_PADDING '\r' /* Chapter 9.3.2 */ +#if defined(__powerpc__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) +struct gsm341_ms_message { + struct { + uint8_t gs:2; + uint8_t code_hi:6; + uint8_t code_lo:4; + uint8_t update:4; + } serial; + uint16_t msg_id; + struct { + uint8_t group:4; + uint8_t language:4; + } dcs; + struct { + uint8_t current:4; + uint8_t total:4; + } page; + uint8_t data[0]; +} __attribute__((packed)); +#else struct gsm341_ms_message { struct { uint8_t code_hi:6; @@ -29,8 +49,24 @@ struct gsm341_ms_message { } page; uint8_t data[0]; } __attribute__((packed)); +#endif /* Chapter 9.4.1.3 */ +#if defined(__powerpc__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) +struct gsm341_etws_message { + struct { + uint8_t gs:2; + uint8_t alert:1; + uint8_t popup:1; + uint8_t code_hi:4; + uint8_t code_lo:4; + uint8_t update:4; + } serial; + uint16_t msg_id; + uint16_t warning_type; + uint8_t data[0]; +} __attribute__((packed)); +#else struct gsm341_etws_message { struct { uint8_t code_hi:4; @@ -44,6 +80,7 @@ struct gsm341_etws_message { uint16_t warning_type; uint8_t data[0]; } __attribute__((packed)); +#endif #define GSM341_MSG_CODE(ms) ((ms)->serial.code_lo | ((ms)->serial.code_hi << 4)) -- 1.7.9.5 From 246tnt at gmail.com Wed Feb 18 14:40:25 2015 From: 246tnt at gmail.com (Sylvain Munaut) Date: Wed, 18 Feb 2015 15:40:25 +0100 Subject: [PATCH] avoid smscb test failure for ppc/ppc64 archi In-Reply-To: <1424270059-22968-1-git-send-email-normand@linux.vnet.ibm.com> References: <1424270059-22968-1-git-send-email-normand@linux.vnet.ibm.com> Message-ID: I'm wondering if we shouldn't just refuse to build alltogether on big-endian. It's known to be broken. This might be the only instance picked up by the test case, but pretty much the whole 'gsm' part is dependent on little endian snce we used those 'struct' construct to represent gsm messages all over the place. Cheers, Sylvain From francoip at stud.ntnu.no Thu Feb 12 14:33:51 2015 From: francoip at stud.ntnu.no (francoip) Date: Thu, 12 Feb 2015 14:33:51 -0000 Subject: Mobile app hangs depending on SIM Message-ID: Hello list, I'm playing with the mobile application of OsmocomBB. I have two SIM cards of two different operators. Everything works fine with one of them, as you can see in the mobile_ok log, but it doesn't with the other one, as you can see in the mobile_ko and layer1_ko log. Layer1 hangs there: SIM Request (5): a0 b0 00 00 f6 and mobile hangs there: <000f> sim.c:1065 selected file (len 246) <000f> sim.c:277 READ BINARY (offset=0 len=246) <000f> sim.c:187 sending APDU (class 0xa0, ins 0xb0) Then nothing happens. Also, when using the command "off", everything shuts down with the first SIM, but I have to use ctrl-c for the second one after mobile hangs here: <000f> sim.c:1234 exit SIM client I have the last versions of libosmocore and osmocom-bb in the master branch, and I enabled TX support. I also tried to set my IMEI in the mobile.cfg file but this does not change anything. The config file is joined as well. Did I forget something? Do you have an idea? Thank you! -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mobile_ko URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: layer1_ko URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mobile_ok Type: text/x-pascal Size: 380497 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mobile.cfg URL: From kishanhari54 at gmail.com Sat Feb 21 02:16:34 2015 From: kishanhari54 at gmail.com (Kishan Hari) Date: Sat, 21 Feb 2015 07:46:34 +0530 Subject: Fwd: Osmocom help In-Reply-To: References: Message-ID: Hello sir, I'm from India, there is no encryption used, I used rtl sdr. In Kali Linux successfully, but here hopping frequencies are used, so I want to try osmocom, I did some search regarding this,but can you give me instructions in steps to get GSM SMS sir. Regards HARI -------------- next part -------------- An HTML attachment was scrubbed... URL: From kishanhari55 at gmail.com Thu Feb 26 03:40:34 2015 From: kishanhari55 at gmail.com (Hari Kishan) Date: Thu, 26 Feb 2015 09:10:34 +0530 Subject: Filter Replacement Message-ID: Without Filter Replacement can i use motorola c115 for OpenBTS? or by just loading highram firmware can i able to get sms sent on any networks and see them in wireshark? P.S help required -------------- next part -------------- An HTML attachment was scrubbed... URL: