- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If I start fresh using JN-AN-1190-JenNet-IP-Application-Template, how do I enable high power mode for the JN5168-001-M06 module ?
SDK used is JN-SW-4165.
It seems like AppApi, MiniMac, & Jennet do not mix well ?
I have tried:
PRIVATE void *pvMac;
PRIVATE MAC_Pib_s *psPib;pvMac = pvAppApiGetMacHandle();
psPib = MAC_psPibGetHandle(pvMac);eAppApiPlmeSet(2, (uint32)(-11)); // 2 = PHY_PIB_ATTR_TX_POWER
and
vAppApiSetHighPowerMode(2, TRUE); // 2 = APP_API_MODULE_HPM06
For the makefile, I tried alternating between AppApi and MiniMAC:
APPLIBS += AppApi
#APPLIBS += MiniMACINCFLAGS += -I$(COMPONENTS_BASE_DIR)/AppApi/Include
#INCFLAGS += -I$(COMPONENTS_BASE_DIR)/MiniMAC/Include
#ADDITIONAL_SRC_DIR += $(COMPONENTS_BASE_DIR)/MiniMAC/Source
but it never once worked.
Any help would be appreciated.
Solved! Go to Solution.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lim,
By default our modules use the highest power level allowed for the module type specified in the call to vMiniMac_SetHighPowerMode() there should be no need to alter the power level (except to lower it).
Best Regards,
Mario

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lim ,
Did you only used vAHI_HighPowerModuleEnable(TRUE,TRUE) ? or there's another thing I should do to enable high power mode ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ‌,
I am trying to use RF communication between 2 JN5168-001-M00
i just configure
vAHI_AntennaDiversityOutputEnable(TRUE, TRUE);
vAHI_AntennaDiversityEnable(TRUE,TRUE);
vAHI_AntennaDiversityControl(25,25);
u8AHI_AntennaDiversityStatus();
i don't understand what will be my next step.
how to send and receive packets.
Need your help..
Thank You for your Time.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ‌,
i read that link (SIMPLE DATA TRANSFER).
but i am still don't understand how to make one module as coordinator and another as end point.
i am also reading document JN-AN-3113 PDF. but unable to understand how to make coordinator and another one as end point and how to send data.
there is no sequence for this.
please need your help!
Thank you for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You for your instant reply
i will go through it.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
Please check the document attached.
Hope it helps.
Best Regards,
Mario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, the LQI values are now aligned correctly.
Next question, how do I configure the power level ?
I've tried adding vMiniMac_PLME_SetReq_Power(3) right after the vMiniMac_SetHighPowerMode but the RSSI/LQI levels do not change.
Any help ?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lim,
By default our modules use the highest power level allowed for the module type specified in the call to vMiniMac_SetHighPowerMode() there should be no need to alter the power level (except to lower it).
Best Regards,
Mario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I 'm using JN5168-M06 module. And I add it in AppMain() function. It seems works!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For completion sake to anyone down the line reading this, vAHI_HighPowerModuleEnable(TRUE,TRUE); was used to enable high power.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lim,
You should find code already in place to do this, near the top of Node.c you will find the commented out line:
/* Optionally define a module type */
//#define NODE_MODULE_TYPE E_MODULE_HPM05
If you comment this line in and use a value as passed into vMiniMac_SetHighPowerMode() it should enable high power mode for the specified module. Available values are as follows (from Components\MiniMAC\Include\MiniMac.h):
typedef enum PACK
{
E_MODULE_STD = 0,
E_MODULE_HPM05 = 1,
E_MODULE_HPM06 = 2
} teModuleType;
Best Regards,
Mario
