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).
sub callback_pppoe_pre_buffrq(required_buff_pages as byte)
The number of additional buffer pages that the PPPOE library needs to operate. Your application must free up at least this number of buffer pages within the callback_pppoe_pre_buffrq() or PPPoE login/configuration will fail with the PPPOE_STATUS_INSUFFICIENT_BUFFER_SPACE code.
This procedure will be called only if there are not enough buffer pages available.