cancel
Showing results for 
Search instead for 
Did you mean: 

sending photo with zigbee

Ndemir
Associate II

I take a photo with ov2640 camera. I try to send this photo with zigbee protocol from router to coordinator. I achive this but there is a problem. After I send a photo the communication is locked totally and I can't send any data.
Does zigbee protocal support to send this big data that I try to send?

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

Welcome @Ndemir, to the community!

This reminds me of the early days of email from the last millenium, when 56k modems were still common. Back then, someone had packed a CD into a ZIP archive and tried to send it by email. It was only a ‘small’ ZIP...

No, seriously: Zigbee was not developed for such data volumes, but ‘to create personal area networks with small, low-power digital radios, such as for home automation, medical device data collection, and other low-power low-bandwidth needs, designed for small scale projects which need wireless connection.’ [Wikipedia]

If you want to transmit images, you should use other suitable methods, such as WiFi.

Hope that answers your question?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

14 REPLIES 14
Peter BENSCH
ST Employee

Welcome @Ndemir, to the community!

This reminds me of the early days of email from the last millenium, when 56k modems were still common. Back then, someone had packed a CD into a ZIP archive and tried to send it by email. It was only a ‘small’ ZIP...

No, seriously: Zigbee was not developed for such data volumes, but ‘to create personal area networks with small, low-power digital radios, such as for home automation, medical device data collection, and other low-power low-bandwidth needs, designed for small scale projects which need wireless connection.’ [Wikipedia]

If you want to transmit images, you should use other suitable methods, such as WiFi.

Hope that answers your question?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Ndemir
Associate II

Hello Peter,
Could you explain in technical terms why, after sending a photo once, we are unable to send a second one, and why the communication completely locks up, preventing us from sending any data?
Best regards,

Peter BENSCH
ST Employee

Without knowing your current environment and the programming of the device and coordinator, I cannot make any statements. Ultimately, your problem boils down to debugging your system, e.g. sniffing the traffic with the help of Wireshark.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

@Ndemir wrote:

Could you explain in technical terms why, after sending a photo once, we are unable to send a second one


As @Peter BENSCH said, it's impossible to say without a detailed analysis of your implementation.

It might not even be a limitation of Zigbee as such; it might just be a fault in the way you handle the data - especially as you say it works once, but not a 2nd time.

That suggests that you do not properly "clear up" at the end of your sending - so focus your debugging on what is different between the first (successful) transmission, and subsequent attempts...

Ndemir
Associate II

Hi Andrew,

Thank you for your answer, I have hundreds maybe thousands of router (it can be thought 1000). I wanna send photo from every routers to coordinator when my sensors triggered. Is it possible to control this data traffic. 

 

As @Peter BENSCH said, this is really not what Zigbee is designed for - why did you choose Zigbee?

But, anyhow, as far as the network is concerned, it's all just data - so long as you abide by the protocol rules, the data will flow.

But it's highly likely that thousands of nodes all sending huge files (photos) will simply overload the network's capacity.

Ndemir
Associate II

I chose this due to the mesh structure and the high number of connected devices. Do you have any other protocol recommendations that would be suitable for the structure I mentioned?

WiFi would seem an obvious choice?

Why do you particularly need a mesh?

AndrewNeil_0-1729602438860.jpeg

from: https://www.emnify.com/iot-glossary/guide-iot-protocols 

Not sure that their depiction of "BLE" accounts for the v5 2M PHY ?

Also not shown on that (too new?)  is the 5G DECT NR+

https://www.5gtechnologyworld.com/the-first-non-cellular-5g-standard-dect-nr/ 

https://www.dect.org/nrplus 

Maybe also look at Matter?

 

Ndemir
Associate II

A large number of devices will be operated in a very large area. Devices that are far away cannot establish a connection, so we need routers.