Which bearer select?


The target platform I used is:
SL8082T B7.50.0.A1.201208141406.SL8082 1657636 081412 14:06
OpenAT Framework : 2.50.0.A1…

When I use wip_bearerOpen like " wip_bearerOpen(&Br, “GPRS”, Bearer_Handler, NULL)" to attach a bearer device to a network interface.
Because the AirPrime SL808x modules offer high-speed dual-band UMTS/HSDPA connectivity (up to 3.6 Mbps downlink) and quad-band EDGE/GPRS/GSM network access.
If I want to use UMTS/HSDPA severice,Which bearername I should use?

another question is: when the module is using the gprs service , then the mobile network can support 3G service like(HPDPS/UMTS) , how can I know the mobile network’s capacity changed? if I can know its change,the module can use a high speed bearer.




The “GPRS” bearer parameter means in fact “all data packet bearers”: GPRS, EDGE, UMTS (3G R99), HSDPA, HSUPA.

In order to know which type of data packet bearer is currently in use, you have to subscribe to “+WGPRSIND” indications by using the AT+WGPRS=9,0 (or 9,1) command (you can run this command using adl_atCmdCreate function).
Then you have to subscribe to “+WGPRSIND” indication by using adl_atUnSoSubscribe function.
Each time the data packet technology will be changed by the network (e.g. from HSDPA to EDGE) then your application will be notified.

To select the data packet technology, you can use the AT+WWSM command.

For more details about these commands, check the document “AT Commands Interface Guide for Firmware 7.50 for AirPrime SL808x”.



thanks JayM2M very much.I tested it and it works well!