Can't compile samples from BitCloud (ZigBee) with WinAVR

Go To Last Post
986 posts / 0 new

Pages

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What mean each value in formula
(4ul * batteryControl.batteryData * 125ul * 3ul) / (1024ul * 100ul); ?
// file battery.c //
Why there 1024 while adcParam.resolution = RESOLUTION_8_BIT; ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
What mean each value in formula
(4ul * batteryControl.batteryData * 125ul * 3ul) / (1024ul * 100ul); ?
// file battery.c //
Why there 1024 while adcParam.resolution = RESOLUTION_8_BIT; ?

Honestly, I don't know. Battery measurement routine has been changed for upcoming release.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

We are having a lot of trouble with I2C when trying to use it with INA219. With other I2C device the driver works perfectly.

With INA219 sometimes is works and sometime is doesn't. Most of the time it doesn't work.

Are there any known issues with INA219? (we tried several chips to make sure the chip is not defective)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
Are there any known issues with INA219? (we tried several chips to make sure the chip is not defective)

I don't remember any problems with i2c, but I am not aware of all cases. Try asking avr@atmel.com.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, it is overkill, but the master of the key fob will be integrated in the network, and it will be possible to control it by other means also. That is why Zigbee is needed here...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

lucicop wrote:
Yes, it is overkill, but the master of the key fob will be integrated in the network, and it will be possible to control it by other means also. That is why Zigbee is needed here...

If you don't need to sense presence of fob from master then do as I described, for every command do join-send-leave procedure.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

We just received a couples of new ZigBit module. They are not as good looking as as one made by Meshnetics :)

I notice that each one has a label with a SN (?serial number mabyte) on it.

Is this number located also in the eeprom (like a configuration parameter to be used by the user)?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
We just received a couples of new ZigBit module. They are not as good looking as as one made by Meshnetics :)

That was my thought when I first seen them :)

EGTOGAMAT wrote:
Is this number located also in the eeprom (like a configuration parameter to be used by the user)?

I believe not, it's just serial number. Having UID embedded in RF chip is pretty reasonable demand but it is too hard to make from technological point of view. And having this number in internal EEPROM is a bit useless since it can be erased by pressing one button in AVRStudio.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I notice in config server:
"//BOOST mode is enabled automatically only for 11, 10, 9, 8, 7, 6 dBm(s)"
What is BOOST mode?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
What is BOOST mode?

Works only for rf212 (sub-GHz). Normally RF-chip would give 5 dBm output power, with boost mode output power is increased up to 10 dBm. rf212 datasheet should say more about this.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

alexru wrote:
If you don't need to sense presence of fob from master then do as I described, for every command do join-send-leave procedure.

Yes, I will try that, to see how fast it is done, thank you !

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried to use static addressing in the WSNDEMO example by setting
USE_STATIC_ADDRESSING=1
I got a compilation error in configServer.c at lines where CS_NWK_UNIQUE_ADDR was used (193 and 753).
The compilation error was gone when I added in the Configuration file:
CS_NWK_UNIQUE_ADDR = true
I also notice that no error is present when
CS_NWK_UNIQUE_ADDR = 1

Which one of the above is more indicated to be used?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
Which one of the above is more indicated to be used?

Yes, this is error.

How it looks from Makefile of WSNDemo:

ifeq ($(USE_STATIC_ADDRESSING), 1)
  CS_PARAMS += CS_NWK_ADDR CS_NWK_UNIQUE_ADDR
endif

So both CS_NWK_ADDR and CS_NWK_UNIQUE_ADDR must be defined. This was corrected by complete removal of USE_STATIC_ADDRESSING (which basically is duplicate of CS_NWK_UNIQUE_ADDR).

For static addressing use CS_NWK_ADDR=static_addr and CS_NWK_UNIQUE_ADDR=true.

Keep in mind that static addressing is not ZigBee compliant feature. And you can't have both in one network (might work but will case trouble at some point).

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried using the CS_EXT_PANID but every time it starts the COO generates a random short PAN (I used ):
extPanId = APP_COORDINATOR_EXT_PANID;
CS_WriteParameter(CS_EXT_PANID_ID, &extPanId);

How can one set a fix PAN ID for COO?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
How can one set a fix PAN ID for COO?

Set CS_NWK_PREDEFINED_PANID=true and CS_NWK_PANID to panid you want. Again, this is not standard feature, be careful when using it.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would have 2 question regarding the timers:

1. Can I call HAL_StartAppTimer() twice with no call to HAL_StopAppTimer() between?

2. Can I change the the timer.interval on the fly?

For example I have a timer which I start. At some point I would like to change the period of the timer. But I would like NOT to stop the timer. Just to configure the interval and eventually call HAL_StartAppTimer().

The worst case I expect is for the timer to wrap around and to get an interrupt with a bigger delay.

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
1. Can I call HAL_StartAppTimer() twice with no call to HAL_StopAppTimer() between?

Strongly not recommended but will work in current implementation. This is not documented and may change in future.

EGTOGAMAT wrote:
2. Can I change the the timer.interval on the fly?

Yes, if you'll call HAL_StartAppTimer() after changing interval.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. Our power supply block can get an input of up to 36 V and lowers it to 3.3 V. What we notice is that if the supply voltage is lower than 3.3 V the power block will forward this voltage to ZigBit module.
Could the subvoltage cause problems to ZigBit module (flash etc)?

2. One of our clients "played" with a ZigBit based device by supplying different voltages for different periods. For example he did the following test:
1 V for 2 sec, 6 V for 0.5 sec, 4 V for 1 sec, 20 V for 3 sec, and so on.
Could this power glitches damage the normal operation of the ZigBit module?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
Could the subvoltage cause problems to ZigBit module (flash etc)?

ZigBits should be programmed to 1.8v BOD level by default. If BOD is enabled then everything should be ok, otherwise EEPROM data corruption is possible (read "Preventing EEPROM Corruption" section in datasheet)

EGTOGAMAT wrote:
For example he did the following test:
1 V for 2 sec, 6 V for 0.5 sec, 4 V for 1 sec, 20 V for 3 sec, and so on.
Could this power glitches damage the normal operation of the ZigBit module?

20V is far beyond Absolute Maximum Ratings and MCU datasheet says:

Quote:

Stresses beyond those listed under “Absolute
Maximum Ratings” may cause permanent damage
to the device.
Exposure to absolute maximum rating
conditions for extended periods may affect
device reliability.

Also 6v is not good for RF chip.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

alexru wrote:

20V is far beyond Absolute Maximum Ratings and MCU datasheet says...
...
Also 6v is not good for RF chip.


My choice of words was not the best... The design is made up by:
Input_voltage -> Power Block -> ZigBit
The role of the Power Block is to provide to ZigBit module 3.3 V.
The input voltage is the one which varies as I mentioned above. The Power Block will output ZigBit module voltages from [0..3.3V].
I was curios if voltage variation (slow increase to 3.3 V or slow decrease from 3.3 V ) affects the device.

BDO was not enabled. I will take a look at "Preventing EEPROM Corruption" section.

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
I was curios if voltage variation (slow increase to 3.3 V or slow decrease from 3.3 V ) affects the device.

Ah, got it :)

Enable BOD and don't worry. Without BOD EEPROM data corruption is pretty real if MCU happens to work at the edge of it's normal operating voltage range.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I notice the following problem for some time now:
0. The router and COO are configured almost the same:
- for networking part - same as WSN
- for COO messageParams:
// Prefilling request parameters
messageParams.profileId = simpleDescriptor.AppProfileId;
messageParams.dstAddrMode = APS_SHORT_ADDRESS;
messageParams.dstAddress.shortAddress = 0;
messageParams.dstEndpoint = 1;
messageParams.clusterId = 1;
messageParams.srcEndpoint = 0;
messageParams.asduLength = tx_counter;
messageParams.asdu = tx_buffer;
messageParams.txOptions.acknowledgedTransmission = 1;
messageParams.radius = 0x0;
messageParams.APS_DataConf = APS_DataConf;

where:
extern APS_DataReq_t messageParams;
void APS_DataConf(APS_DataConf_t *confInfo);
static uint8_t tx_buffer[MAX_USART_MESSAGE_SIZE];
static uint8_t tx_counter;

- for router:
messageParams.profileId = simpleDescriptor.AppProfileId;
messageParams.dstAddrMode = APS_SHORT_ADDRESS;
messageParams.dstAddress.shortAddress = 0;
messageParams.dstEndpoint = 1;
messageParams.clusterId = 1;
messageParams.srcEndpoint = 1;
messageParams.asduLength = tx_counter;
messageParams.asdu = tx_buffer;
messageParams.txOptions.acknowledgedTransmission = 1;
messageParams.radius = 0x0;
messageParams.APS_DataConf = APS_DataConf;

For configuration:
APP_TIMER_SENDING_PERIOD = 5000
#After this amount of failed transmission in a row the rejoin network procedure is done
APP_THRESHOLD_FAILED_TRANSMISSION = 3

1. I send a command on the USART. A message is sent from COO (I see that only 1 message is sent as I output it to the UART) to router (the short address field is updated with correct address).
2. I see 3 replies from the router. The router has no issue as with other COO firmware router replies ok. THerefore I concluded that COO is sending 3 times the message.
3. COO tries to send another time as no ACK was received. Again same flow: router sends 3 reply messages.
4. After 3 attempts and 9 replies received from router the COO concludes that no ack was received.

Why I can see the replies coming from destination but COO gets NACK?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
Why I can see the replies coming from destination but COO gets NACK?

I see nothing wrong with what you have described. And I conclude that you have sniffer. It would be good to see actual sniffer log.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do not have a sniffer. I just print using the UART (uprintf):
- what COO receives (APS_DataIndCoord())
- what COO sends (messageParams.asdu )
- message when ACK is received or NACK

For debug is use a define DEBUG and #ifdef uprintf(message) #endif sections. After I removed the defined everything works. Now I add it back and it still works.

I will try to reproduce the issue and post the log.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
I will try to reproduce the issue and post the log.

It also would be great to see some code snippets so I could understand what is going on.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It is possible to calculate (and how to do this) time interval between two data sending for zigbit module (for example distance between nodes is one meter)? Or may be it is known (max/min)?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
It is possible to calculate (and how to do this) time interval between two data sending for zigbit module (for example distance between nodes is one meter)? Or may be it is known (max/min)?

Distance is irrelevant. A lot of unknown (random) delays are introduced on all layers of stack (standard requirement).

Time between what events do you need?

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

time between 1st device begin sending data (packet) to 2d device and 1st device ready to send new data (packet).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
time between 1st device begin sending data (packet) to 2d device and 1st device ready to send new data (packet).

You may send to stack as many packets as you want (or have memory to). But they all will stuck on MAC layer waiting to be able to access the medium.

How much time they will spend there depends on:
1. If 2nd device is end device then it will get its data in CS_POLL_PERIOD (few seconds)

2. If 2nd device is router but APS ack was requested, 1st device will wait for it (this may take up to 16 seconds if no ACK was received).

3. If 1st device is coordinator or router it may be busy with routing packets

4. Any device may be busy processing ZDO requests.

Regularly for c-r or r-r communication this time will be somewhere from 10-20 ms.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. The IRQ interrupts handler are called as soon as interrupts occur or are they added to the execution queue? I want link the ZigBit to an incremental rotary encoder sensor and I have to get all interrupts.

2. Will ZigBit allow upgrade of the firmware over the air?

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi! may be this question is more about winavr, but how to output float numbers in printf function? (I try use F and E options - but terminal output ?). In winavr I found that I should use "-Wl,-u,vfprintf -lprintf_flt -lm" option for compiler, but where I need to specify it? thank :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
1. The IRQ interrupts handler are called as soon as interrupts occur or are they added to the execution queue? I want link the ZigBit to an incremental rotary encoder sensor and I have to get all interrupts.

Callbacks registered via HAL_RegisterIrq() are called directly from interrupt handler.

EGTOGAMAT wrote:

2. Will ZigBit allow upgrade of the firmware over the air?

There is experimental support for over-the-air upgrade but I don't know when it will be available to public.

Watch this http://www.youtube.com/watch?v=sukbnt6LT4M and ask tech support guys how to get this :)

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
hi! may be this question is more about winavr, but how to output float numbers in printf function? (I try use F and E options - but terminal output ?). In winavr I found that I should use "-Wl,-u,vfprintf -lprintf_flt -lm" option for compiler, but where I need to specify it? thank :)

In a standard template makefile this is handled as so:

#---------------- Library Options ----------------
# Minimalistic printf version
PRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min

# Floating point printf version (requires MATH_LIB = -lm below)
PRINTF_LIB_FLOAT = -Wl,-u,vfprintf -lprintf_flt

# If this is left blank, then it will use the Standard printf version.
PRINTF_LIB = 
#PRINTF_LIB = $(PRINTF_LIB_MIN)
#PRINTF_LIB = $(PRINTF_LIB_FLOAT)


MATH_LIB = -lm

then:

#---------------- Linker Options ----------------
#  -Wl,...:     tell GCC to pass this to linker.
#    -Map:      create map file
#    --cref:    add cross reference to  map file
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS += $(EXTMEMOPTS)
LDFLAGS += $(patsubst %,-L%,$(EXTRALIBDIRS))
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)

and finally:

# Link: create ELF output file from object files.
.SECONDARY : $(TARGET).elf
.PRECIOUS : $(OBJ)
%.elf: $(OBJ)
	@echo
	@echo $(MSG_LINKING) $@
	$(CC) $(ALL_CFLAGS) $^ --output $@ $(LDFLAGS)

perhaps you can see how to work something similar into your own set of Makefiles?

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I need float output for Lowpower demo :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
I need float output for Lowpower demo :)

All of above still applies. Make changes in Makefile.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. Could BitCloud be compiled using gcc-avr from linux?

2. How could I generate multiple srecs (hex-es) using a single Makefile, something like this:

for i from 0 to 10 do {
UID = i
COMPILATION_FLAGS += UID
FILENAME += i
// Compile and link and generate file i
}

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
1. Could BitCloud be compiled using gcc-avr from linux?

Yes, but libraries that we are providing are made using WinAVR under Windows. Not sure if they are fully compatible. You may try.

EGTOGAMAT wrote:

2. How could I generate multiple srecs (hex-es) using a single Makefile, something like this:
}

You may use external tools (or simple bath file or shell script). Every parameter from Configuration file may appear on command line to make and will override internal value.

For example:

make clean all CS_UID=0x1234 PROJNAME=WSNDemo_0x1234

will produce files WSNDemo_0x1234.* and with CS_UID=0x1234, other parameters will be taken from configuration file.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi! How often I can read 2 adc channels (10bit) for not make bottleneck for bitcloud stack? (I need about 10-50 times for a second).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Hi! How often I can read 2 adc channels (10bit) for not make bottleneck for bitcloud stack? (I need about 10-50 times for a second).

Why? Is there some reason you cannot do it using an ADC interrupt? In which case you just steal a few hundred cycles every 100,000 (or more depending on F_CPU).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
Hi! How often I can read 2 adc channels (10bit) for not make bottleneck for bitcloud stack? (I need about 10-50 times for a second).

As often as callback function called. BitCloud has highest priority for communication tasks, everything else is called as long as communication tasks are idle.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use ADC callback for every ADC channel reading (one after another)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So if zigbit don't send/receive anything, it is possible read 10-50 times per second 2 adc channels?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
So if zigbit don't send/receive anything, it is possible read 10-50 times per second 2 adc channels?

It is possible to sample as fast as callback is called. I do not know now often it will be called, check yourself.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

alexru wrote:

BitCloud has highest priority for communication tasks, everything else is called as long as communication tasks are idle.

I tried to implement a simulator for an incremental rotary encoder
(http://en.wikipedia.org/wiki/Rot...).

I notice that if I set the interval between 2 phases lower than 10 ms the waveform is not generated correctly.

Everything works ok if I set the time between 2 phases >= 10 ms.

I implemented the application in a coordinator. Should I get different results if I use an end device? (I will try it today and let you know the result)

Thanks

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

EGTOGAMAT wrote:
I notice that if I set the interval between 2 phases lower than 10 ms the waveform is not generated correctly.

Keep in mind that application timers in BitCloud have 10 ms resolution.

Intervals lover than 10 ms will be rounded to 10 ms.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I modified lowpower app for multicast message sending (Coordinator send to 0xFFFF) and adding code to analyze data from C, I have following problem:

If I send data from C to Router (and R response - so I receive data in C) in first ~20 seconds after devices joined to network I don't have callback in APS_DataConf function (during this time R with C can't communicate); after this time I receive conf->status = 0xF0. After this time the status every time is 0x00.
Again, if I send first request (after HW reset) only after ~20 seconds when devices joined to network - I don't have this problem and status is 0x00.
What is 0xF0 mean and why I have this problem?

P.S. If I send from C to specified addr (ex. 0x0001) - this problem don't appear.

Thank :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
I modified lowpower app for multicast message sending (Coordinator send to 0xFFFF)

This is broadcast, not multicast.

code-by wrote:

If I send data from C to Router

LowPower initially uses Coordinator and EndDevices. Are you sure that you made all necessary corrections to transform end devices to routers? Have you set rxOnWhenIdle to true?

code-by wrote:

What is 0xF0 mean and why I have this problem? Thank :)

0xF0 is MAC_TRANSACTION_EXPIRED_STATUS. This means that device to which data belongs is end device (or router with rxOnWhenIdle set to false) but it wasn't requesting this data.

Show your modifications to LowPower.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have
bool rxOnWhenIdle = true;
CS_WriteParameter(CS_RX_ON_WHEN_IDLE_ID,&rxOnWhenIdle);
in coordinator.c and enddevice.c

When I add
CS_RX_ON_WHEN_IDLE = true
in configuration file, I begin receive 0xF0 status more than one time, but after sometime it back to 0x00 :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

May be this error cause this:

static void dataInd(APS_DataInd_t* ind)
{
 AppSensorTypeMessage_t *msg = (AppSensorTypeMessage_t *)ind->asdu;
 if (msg->bla_bla_bla==1)
 {
   endDeviceState = END_DEVICE_STATE_MESSAGE_SENDING;
   SYS_PostTask(APL_TASK_ID);
 }
}
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

code-by wrote:
May be this error cause this:

This code is ok. Show all changes that you made to LowPower.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

Pages