Changes between Version 20 and Version 21 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Comm/CComm


Ignore:
Timestamp:
03/12/25 08:17:32 (4 weeks ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Comm/CComm

    v20 v21  
    88
    99=== Send ===
    10 {{{
     10{{{#!c++
    1111virtual int Send(CCommConnection *pConnection, const uint8* data, int len)
    1212}}}
     
    3535
    3636The Process method must be called regularly for the communication channel to be serviced allowing any receive events to occur. This should usually be done in the app background event such as:
    37 {{{
     37{{{#!c++
    3838BACKGROUND_EVENT(Comm)
    3939{
     
    4747=== !AddRcvEvent ===
    4848
    49 {{{
     49{{{#!c++
    5050void AddRcvEvent(uint8 chr, int (*pDataEvent)(CComm* pComm, CConnection *pConnnection, int nData, void* pUser), int nRawCnt = 0, void* pUser = NULL)
    5151void AddRcvEvent(uint16 startchr, uint16 endchr, int (*pDataEvent)(CComm* pComm, CConnection *pConnnection, int nData, void* pUser), int nRawCnt = 0, void* pUser = NULL)
     
    7777==== Example ====
    7878
    79 {{{
     79{{{#!c++
    8080CComm *pComm = NULL;
    8181// pComm is a pointer that can point to a CCommSerial, CCommClient, or CCommServer instance
     
    168168==== Example ====
    169169
    170 {{{
     170{{{#!c++
    171171CComm *pComm = NULL;
    172172