What is the cause of CME ERROR: 134 when opening bearer?

When I try to open a bearer connection to a private APN in WIP I’m seeing “CME ERROR: 134”. The WIP OpenAT IP connectivity development guide says this means:

134: Service option temporarily out of order (#26, #34, #38)

However this doesn’t really help me understand why WIP cannot establish the bearer connection.

If I try to connect to the private APN manually with AT+WPPP (to set authentication) and AT!SCACT=1,1 it works absolutely fine. If I try defining an alternative (public) APN then WIP is able to connect successfully. I’ve tried several development boards and different SIM cards but the problem can be reproduced consistently.

It seems there is an incompatibility between my private APN and the WIP library, although I cannot think of any reason why there would be.

Can anyone give me any pointers on how to troubleshoot beyond the generic “Service option temporarily out of order” to really understand what’s causing the failure?

Thanks,

Dave.

"DWL"," S4_1_0_13BT R2032 CNSZXD00000132 2014/02/26 09:41:35","","Sierra Wireless",0,"","00000000","00000000"
"FW","FW_752_68.SL808Fx","R7.52.0.201404040850.SL8082T","Sierra Wireless",1790532,"040414 08:50","298b2dad","10002020"
"MODEM 3G+","Revision: S4_1_0_13AP R2032 CNSZXD00000132 2014/02/26 09:41:35"
"OAT","2.0.20141101105742","TEST","TEST",1094108,"110114 10:58","e8910e7a","10700000"
 -"Developer Studio","2.3.2.201310241753"
 -"Open AT OS Package","6.52.0.201402271535"
 -"Firmware Package","7.52.0.201404040850"
 -"Internet Library Package","5.56.0.201305170830"
 -"Location Library Package","1.4.6.201309111006"
"ROM","8400000"
"RAM","4000000"
"OATRAM","b00000"
"DWLNAME","SL808x"
10/11/2014	22:03:19:025	8	ADL	4	(Gprs) Registered on GSM network.
10/11/2014	22:03:19:025	9	ADL	4	(Gprs) SIM initialised
10/11/2014	22:03:19:025	10	ATI	2	Rec AT_APPLI_SEND_COMMAND
10/11/2014	22:03:19:025	11	ATI	1	AT+CGDCONT?<CR>
10/11/2014	22:03:19:025	13	ATI	1	<CR><LF>+CGDCONT: 1
10/11/2014	22:03:19:025	15	ATI	1	<CR><LF>OK<CR><LF>
10/11/2014	22:03:19:025	16	ATI	1	0d 0a 4f 4b 0d 0a 
10/11/2014	22:03:19:088	1	ADL	1	OpenAndStartBearer()
10/11/2014	22:03:19:088	2	ADL	1	apn=privateapn name=privateusername pw=privatepassword
10/11/2014	22:03:19:088	3	ADL	1	Issued wip_bearerSetOpts()
10/11/2014	22:03:19:088	4	ADL	31	[ADL] Gprs subs 107A8F9B : 0
10/11/2014	22:03:19:088	5	ADL	16	[ADL port] IsAvailable(80) : 1
10/11/2014	22:03:19:088	6	ATI	2	Rec AT_APPLI_SEND_COMMAND
10/11/2014	22:03:19:088	7	ATI	1	AT+CGDCONT=1
10/11/2014	22:03:19:088	9	ADL	31	[ADL] Gprs setup 1 : 0
10/11/2014	22:03:19:088	10	ADL	1	Issued wip_bearerStart()
10/11/2014	22:03:19:353	1	ATI	1	<CR><LF>OK<CR><LF>
10/11/2014	22:03:19:353	3	ADL	1	ADL_GPRS_EVENT_SETUP_OK
10/11/2014	22:03:19:353	4	ADL	16	[ADL port] IsAvailable(80) : 1
10/11/2014	22:03:19:353	5	ATI	2	Rec AT_APPLI_SEND_COMMAND
10/11/2014	22:03:19:353	6	ATI	1	AT+CGACT=1
10/11/2014	22:03:20:679	1	ATI	2	Rec I_MMT_LOCK_CORRECT_SIM_IND
10/11/2014	22:03:20:679	2	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:20:679	3	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:20:679	4	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:20:679	5	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:20:679	6	ATI	2	Rec I_MMT_MM_SERVICE_IND
10/11/2014	22:03:20:679	7	ATI	1	<CR><LF>+CREG: 1
10/11/2014	22:03:20:679	9	ATI	2	Rec MMT_SESSION_ACTIVATE_RSP
10/11/2014	22:03:20:679	10	ATI	1	<CR><LF>+CME ERROR: 134<CR><LF>
10/11/2014	22:03:20:679	12	ATI	2	Rec I_MMT_SESSION_ACTIVATE_RSP
10/11/2014	22:03:20:679	13	ATI	2	Rec ATMGR_INTERMEDIATE_IND
10/11/2014	22:03:20:679	14	ATI	2	Rec ATMGR_FINAL_IND
10/11/2014	22:03:20:679	15	ATI	2	Rec MMT_GM_SERVICE_IND
10/11/2014	22:03:20:679	16	ATI	1	<CR><LF>+CGREG: 1
10/11/2014	22:03:20:695	1	ATI	2	Rec ATMGR_INTERMEDIATE_IND
10/11/2014	22:03:20:695	2	ATI	2	Rec ATMGR_FINAL_IND
10/11/2014	22:03:20:695	3	ADL	1	ADL_GPRS_EVENT_ACTIVATE_KO
10/11/2014	22:03:20:695	4	ADL	31	[ADL] GPRS unsubs 107A8F9B : 0
10/11/2014	22:03:20:695	5	ADL	1	bearer event 1
10/11/2014	22:03:20:695	6	ADL	1	WIP_BEV_CONN_FAILED
10/11/2014	22:03:20:773	1	ATI	2	Rec ATMGR_INTERMEDIATE_IND
10/11/2014	22:03:20:773	2	ATI	2	Rec ATMGR_FINAL_IND
10/11/2014	22:03:20:773	3	ATI	2	Rec ATMGR_INTERMEDIATE_IND
10/11/2014	22:03:20:773	4	ATI	2	Rec ATMGR_FINAL_IND
10/11/2014	22:03:21:038	1	ADL	1	end of cbEvhBearer
10/11/2014	22:03:21:038	2	ADL	1	ADL_GPRS_EVENT_ME_ATTACH
10/11/2014	22:03:23:456	1	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:23:456	2	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:23:456	3	ATI	2	Rec I_ASE_INIT_ENDED
10/11/2014	22:03:23:456	4	ATI	2	Rec I_ASE_INIT_ENDED

Hiya,

If you require authentication for your APN, are you using the wip_bearerSetOpts() function to set the WIP_BOPT_LOGIN and WIP_BOPT_PASSWORD parameters before calling wip_bearerStart()?

Also, does your code work with a SIM that attaches to a public APN? Or does it fail in the same manner as when you try to attach to your private APN?

ciao, Dave

It’s a known bug in 7.52 (SL808xT) firmware. See section 9.1 of the release notes (http://developer.sierrawireless.com/Resources/Resources/AirPrime/Software/Release_notes/Firmware_7_52.aspx)

Aha, I’d missed that entry in the release notes. :blush:

So it appears I need to remove the username/password parameters from wip_bearerSetOpts() and instead set those values with +WPPP prior to bringing the bearer up?