GPRSbee library

I have update GPRSbee library (July 2016). I use Sodaq MBLI and appears error message:
‘class GPRSbeeClass’ has no member named ‘init’
If I delete gprsbee.init(Serial1, BEECTS, BEEDTR); appears another error message:
‘class GPRSbeeClass’ has no member named ‘setPowerSwitchedOnOff’
If I delete gprsbee.setPowerSwitchedOnOff(true); also, Sodaq MBLI and GPRSbee aren’t connected
can you help me?

The API has changed somewhat. Those methods are no longer supported in the newer version of the library.

If you have a SIM900 based GPRSbee, you will have to use an older version of the library (v1.3.0).

For the SIM800H based modules, you can use the Autonomo intialisation method and just pass -1 for the BEE_VCC parameter:

gprsbee.initAutonomoSIM800(Serial1, -1, BEEDTR, BEECTS);

Actually, if you want to use the the SIM900 module in Switched Power mode you can use the current library (use the above code to initialise).

However, if you want to use the SIM900 module in On-Off Toggle mode, you must use the older library.