Bearer state

call me blind, but i can’t find out how to get the current state my bearer is in.

furthermore, does anyone know where to find a diagram of sorts that tells me how the bearer responds to GPRS events?

You will have to do it by yourself. Use bearerHandler to save bearer’s state.

About state machine:

Open AT® IP Connectivity Development Guide, WIPlib v5.20
October 21, 2009
#4. IP Bearer Management / State Machine, p.41

Custom bearer / Ethernet differs, but that is another story.

thanks, was hoping that i’d missed a getState somewhere

i know about that diagram.
guess i’ll heave to implement the bearerHandler to find out for myself.
like the fact that stopping the bearer fails with “invalid handle” after an GPRS_EVENT_ME_UNREG