AnsweredAssumed Answered

vAppApiSetHighPowerMode and eAppApiPlmeSet with Micro Mac on JN5168-001-M05

Question asked by David Pilcher on Oct 31, 2019
Latest reply on Nov 4, 2019 by Estephania Martinez

Hi

 

We are using the MicroMac (mmac.h) and our init is this:

  
       
       vMMAC_Enable   (); 
   
   
          vMMAC_EnableInterrupts   (   &   radio_interrupt_handler); 
   
   
          vMMAC_ConfigureRadio   (); 
  
  
  
        vMMAC_SetChannel  (  g_Config  .  byMeshChannel  );
  
  
        // Disable hardware backoff
  
        vMMAC_SetTxParameters  (  1    0    0    0  );
  
  
        vMMAC_StartPhyReceive  (rx_frame_buffer, (uint16)(E_MMAC_RX_START_NOW  |   E_MMAC_RX_NO_FCS_ERROR));

 

How do we set the Transmit Power Level and the High Power mode for the M05 module?

 

In a non-MMAC way we'd use these:

 

  
        vAppApiSetHighPowerMode  (APP_API_MODULE_HPM05,   TRUE  );

 

  
  eAppApiPlmeSet  (PHY_PIB_ATTR_TX_POWER,   31  );

 

Can they be done together with MMAC or are there other functions to use?

 

Thanks

Outcomes