Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoReceiver_SetMessageHandler | ( | GoReceiver | receiver,
|  | GoReceiverMessageFx | function,
|  | kPointer | context
| ) |  |

Sets a callback function that can be used to receive notifications when data is available to be read.

Version
  Introduced in firmware 4.0.10.27

Parameters

  receiver | Receiver object.
  function | Data callback function (or kNULL to unregister).
  context | Context argument for callback (function receiver).

Returns
  Operation status.