| Author |
Message |
|
|
Posted: Feb 24, 2012 - 04:36 PM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
It is technically possible to implement in ZigBit, but you need certain skills. I'm, for example, can do it, and it will take me about a month to implement needed parts of ZCL and HA.
ZCL spec is 1000+ pages, you need couple weeks just to read it and understand what parts of it you need to implement. Make it a month if don't have extensive experience reading ZigBee docs.
So implementing ZCL (even limited) is not an easy task, but it is possible to do what you need with ZigBit. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 25, 2012 - 05:00 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
This is what i thought while starting.
cluster is a group of attributes. attributes or nothing but data. clusters is a group of data only. In a zigbee data frame these clusters and attributes will come under the data only. (In bitcloud the maximum data possible is 95 bytes.) Is creating a ZCL is like creating different data formats?
but it seems to be different after studying some documents? will you define these things clearly in simple english? |
|
|
| |
|
|
|
|
|
Posted: Feb 26, 2012 - 04:56 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
On top of this you need to implement logic to Read, Write, Report those attributes, with proper responses if requested attribute is not found, etc. Plus in addition to attributes there are cluster commands, which has to be implemented as well.
ZCL is 1000+ pages document, download it and read, there is a lot of info that is not needed for HA profile, but there is also description of common parts.
You can also download any BitCloud PS release and look at the API. You will end up with something similar, |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 04:27 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
| does the full home automation profile has been implemented in BitCloud Profile suite stack. does it has all the features to develop our IAS CIE device. |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 04:33 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
Only mandatory commands and attributes are supported in BitCloud by default (simply because it is humanly impossible to implement everything from ZCL), but there is clear way to extend this functionality to whatever you need. I have no idea what the requirements for IAS CIE are, so it is likely that we don't support everything needed out of the box; you'll have to read specification for this, but it will be much easier than implementing everything yourself.
HA profile is supported on ATmega128RFA1, which is almost as easy to work with as ZigBit. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 04:56 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
we are thinking about ATxmega256D3/A3.
how many maximum number of devices can be connected to a single network using Bitcloud profile suite. |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 05:02 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
| 30+, I guess, there is no hard limit, it all depends on network load and operation scenario. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 05:15 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
| we would like to have 256 end devices to be connected to the coordinator in some cases, is it possible or not. |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 05:25 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
It is not recommended even for simple ZigBee applications, it almost certainly will not work for ZCL application. I don't remember if HA profile puts some cap on expected number of devices in the network, but Smart Energy Profile, for example, has limitation of 25 devices.
Networks of 256 devices are possible, but require careful planning. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 05:54 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
| For Home Automation IAS CIE device the number of entries to the zone table is 256. which indirectly means that it can enroll 256 number of devices to it. see page number 342 in zigbee cluster library document. Is this feature is available in BitCloud Profile suite or not? |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 05:59 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
There is no implementation for IAS CIE, whatever it is; you'll have to implement it yourself based on the specification and clusters that are supported.
I don't have this spec at hand, so I don't know what the size of the entry is, but it might be a challenge even to fit 256 entries in xmega RAM. You'll have to put some restrictions or rethink your MCU choice. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 06:26 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
| other than that you have sam3s4c mcu only which has 48kb ram and supports home automation. is it possible to select other ic's in the xmega series which has more ram |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 06:42 AM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
48k might be enough, it depends on the entry size. Or you might need to use external SRAM if you really need 256 devices. Just keep in mind that network of 256 ZCL devices is nearly impossible, there is no reason to implement it in your device.
I don't think there are Xmega devices with more than 16 kb of SRAM. |
_________________ The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 07:39 AM |
|

Joined: Jan 17, 2012
Posts: 46
|
|
We will discuss about the number of devices in our network and will get back to you regarding that later.
For the SAM3S4C, you have noted in the table 2.1 of profile suite developers guide as that certicom security support is pending for smart energy profile. Is it also for Home automation profile?
In the SAM3S4C does it implement the full profile suite stack for home automation profile or not? |
|
|
| |
|
|
|
|
|
Posted: Feb 27, 2012 - 06:55 PM |
|


Joined: Apr 15, 2009
Posts: 4870
Location: San Jose, CA
|
|
|
gopikrishnan wrote:
We will discuss about the number of devices in our network and will get back to you regarding that later.
The spec says:
Quote:
The maximum number of entries in the table is 256.
This is exactly why you need experience reading ZigBee Alliance documents. This is not a requirement, it is just a note and it only means that any other documents putting restrictions on this table size should not require more than 256 records. Some other document (probably HA spec) should put this limit, and if not, then it is up to the implementation. In any case record size is 11 bytes, which means that 256 records will take 2816 bytes; even xmega with 16 kb of RAM can hold this.
gopikrishnan wrote:
For the SAM3S4C, you have noted in the table 2.1 of profile suite developers guide as that certicom security support is pending for smart energy profile. Is it also for Home automation profile?
HA does not need Certicom security.
gopikrishnan wrote:
In the SAM3S4C does it implement the full profile suite stack for home automation profile or not?
No, from HA BitCloud implements only following devices: Trust Center, Thermostat, Remote Control, Occupancy Sensor, Dimmer Switch and Dimmable Light. On all devices only mandatory clusters are implemented, in clusters only mandatory commands are implemented.
This does not mean you can't implement your device, you'll just have to write more code than you would have for the Thermostat, for example. |
|
|
| |
|
|
|
|
|