Callback_gprs_pre_buffrq()

Top  Previous  Next

Description:

Callback procedure, informs of the insufficient number of free buffer pages available for use by the library. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_gprs_pre_buffrq(required_buff_pages as byte)

Returns:

---

See Also:

Step-by-step Usage Instructions, Operation Details

 


Part

Description

required_buffer_pages

The number of additional buffer pages that the GPRS library needs to operate. Your application must free up at least this number of buffer pages within callback_gprs_pre_buffrq() or PPP login/configuration will fail with the GPRS_STATUS_INSUFFICIENT_BUFFER_SPACE code.

Details

This procedure will be called only if there are not enough buffer pages available.