Hi Priti,
1) u32MMAC_GetTxErrors() often returns 16. What does it indicate?
This indicates that the MAC level acknowledgement has flagged that there is some additional indirect data for the device, in the device sending the ACK. What this means in practice is that for end devices polling for data from their parents, when they receive data there is still more data waiting which should be polled for. However the application layer code for End Devices in the JenNet-IP Application Notes (including the Template) will all continue to poll their parent for data until all the data has been received this code can be found in Common\Source\Node.c in the Node_bJipStackEvent() function in the E_STACK_POLL event handler.
1- What values of power to use for vMMAC_SetChannelAndPower(channel, power) API? What different values of power (in dBm) can be set using this API?
To set just the power level the vMiniMac_PLME_SetReq_Power() function should be used the parameter is the same format as for eAppApiPlmeSet() described in JN-UG-3024 IEEE 802.15.4 Stack User Guide available from IEEE 802.15.4|JN516x MCUs|NXP
But you will only need to do this to lower the power as the default is to use full power.
They may also need to configure for a high power module for this vMiniMac_SetHighPowerMode() can be used this uses the same parameters as vAppApiSetHighPowerMode() also described in JN-UG-3024.
Best Regards
Mario