- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# application_configuration.h

Go to the documentation of this file.

    00001
    00011 #ifndef APPLICATION_CONFIGURATION_H
    00012 #define APPLICATION_CONFIGURATION_H
    00013
    00014 //default values used when creating applicationConfigurations in Simple API or AFZDO
    00015 #define DEFAULT_ENDPOINT        0xD7
    00016 #define DEFAULT_PROFILE_ID      0xD7D7
    00017 #define DEVICE_ID               0x4567
    00018 #define DEVICE_VERSION          0x89
    00019
    00020 //Values for latencyRequested field of struct applicationConfiguration. Not used in Simple API.
    00021 #define LATENCY_NORMAL          0
    00022 #define LATENCY_FAST_BEACONS    1
    00023 #define LATENCY_SLOW_BEACONS    2
    00024
    00025
    00027 struct applicationConfiguration
    00028 {
    00030   unsigned char endPoint;
    00031
    00033   unsigned int profileId;
    00034
    00036   unsigned int deviceId;
    00037
    00039   unsigned char deviceVersion;
    00040
    00042   unsigned char latencyRequested;
    00043
    00044 #define MAX_BINDING_CLUSTERS 32
    00047   unsigned char numberOfBindingInputClusters;
    00048
    00050   unsigned int bindingInputClusters[MAX_BINDING_CLUSTERS];
    00051
    00053   unsigned char numberOfBindingOutputClusters;
    00054
    00056   unsigned int bindingOutputClusters[MAX_BINDING_CLUSTERS];
    00057 };
    00058
    00059
    00060 struct applicationConfiguration getApplicationConfigurationForCoordinator();
    00061 struct applicationConfiguration getApplicationConfigurationForRouter();
    00062 void printApplicationConfiguration(struct applicationConfiguration ac);
    00063
    00064 #endif

All Data Structures Files Functions Variables Defines