/** * @brief Register module in HM */ void cmMyBlind::regInHM(uint8_t cnl, uint8_t lst, AS *instPtr) { hm = instPtr; // set pointer to the HM module hm->rg.regInAS( cnl, lst, s_mod_dlgt(this,&cmMyBlind::hmEventCol), (uint8_t*)&lstCnl, (uint8_t*)&lstPeer ); regCnl = cnl; // stores the channel we are responsible fore }
//- predefined, no reason to touch ---------------------------------------------------------------------------------------- void Relay::regInHM(uint8_t cnl, HM *instPtr) { hm = instPtr; // set pointer to the HM module hm->regCnlModule(cnl,s_mod_dlgt(this,&Relay::hmEventCol),(uint16_t*)&ptrMainList,(uint16_t*)&ptrPeerList); regCnl = cnl; // stores the channel we are responsible fore }