-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
1,385 additions
and
86 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
plc4c/generated-sources/modbus/include/modbus_device_information_conformity_level.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
#ifndef PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_CONFORMITY_LEVEL_H_ | ||
#define PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_CONFORMITY_LEVEL_H_ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <plc4c/driver_modbus_static.h> | ||
#include <plc4c/spi/read_buffer.h> | ||
#include <plc4c/spi/write_buffer.h> | ||
|
||
// Code generated by code-generation. DO NOT EDIT. | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
enum plc4c_modbus_read_write_modbus_device_information_conformity_level { | ||
plc4c_modbus_read_write_modbus_device_information_conformity_level_BASIC_STREAM_ONLY = 0x01, | ||
plc4c_modbus_read_write_modbus_device_information_conformity_level_REGULAR_STREAM_ONLY = 0x02, | ||
plc4c_modbus_read_write_modbus_device_information_conformity_level_EXTENDED_STREAM_ONLY = 0x03 | ||
}; | ||
typedef enum plc4c_modbus_read_write_modbus_device_information_conformity_level plc4c_modbus_read_write_modbus_device_information_conformity_level; | ||
|
||
// Get an empty NULL-struct | ||
plc4c_modbus_read_write_modbus_device_information_conformity_level plc4c_modbus_read_write_modbus_device_information_conformity_level_null(); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_conformity_level_parse(plc4c_spi_read_buffer* readBuffer, plc4c_modbus_read_write_modbus_device_information_conformity_level** message); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_conformity_level_serialize(plc4c_spi_write_buffer* writeBuffer, plc4c_modbus_read_write_modbus_device_information_conformity_level* message); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_conformity_level plc4c_modbus_read_write_modbus_device_information_conformity_level_value_of(char* value_string); | ||
|
||
int plc4c_modbus_read_write_modbus_device_information_conformity_level_num_values(); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_conformity_level plc4c_modbus_read_write_modbus_device_information_conformity_level_value_for_index(int index); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_conformity_level_length_in_bytes(plc4c_modbus_read_write_modbus_device_information_conformity_level* message); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_conformity_level_length_in_bits(plc4c_modbus_read_write_modbus_device_information_conformity_level* message); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_CONFORMITY_LEVEL_H_ |
65 changes: 65 additions & 0 deletions
65
plc4c/generated-sources/modbus/include/modbus_device_information_level.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
#ifndef PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_LEVEL_H_ | ||
#define PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_LEVEL_H_ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <plc4c/driver_modbus_static.h> | ||
#include <plc4c/spi/read_buffer.h> | ||
#include <plc4c/spi/write_buffer.h> | ||
|
||
// Code generated by code-generation. DO NOT EDIT. | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
enum plc4c_modbus_read_write_modbus_device_information_level { | ||
plc4c_modbus_read_write_modbus_device_information_level_BASIC = 0x01, | ||
plc4c_modbus_read_write_modbus_device_information_level_REGULAR = 0x02, | ||
plc4c_modbus_read_write_modbus_device_information_level_EXTENDED = 0x03, | ||
plc4c_modbus_read_write_modbus_device_information_level_INDIVIDUAL = 0x04 | ||
}; | ||
typedef enum plc4c_modbus_read_write_modbus_device_information_level plc4c_modbus_read_write_modbus_device_information_level; | ||
|
||
// Get an empty NULL-struct | ||
plc4c_modbus_read_write_modbus_device_information_level plc4c_modbus_read_write_modbus_device_information_level_null(); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_level_parse(plc4c_spi_read_buffer* readBuffer, plc4c_modbus_read_write_modbus_device_information_level** message); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_level_serialize(plc4c_spi_write_buffer* writeBuffer, plc4c_modbus_read_write_modbus_device_information_level* message); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_level plc4c_modbus_read_write_modbus_device_information_level_value_of(char* value_string); | ||
|
||
int plc4c_modbus_read_write_modbus_device_information_level_num_values(); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_level plc4c_modbus_read_write_modbus_device_information_level_value_for_index(int index); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_level_length_in_bytes(plc4c_modbus_read_write_modbus_device_information_level* message); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_level_length_in_bits(plc4c_modbus_read_write_modbus_device_information_level* message); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_LEVEL_H_ |
63 changes: 63 additions & 0 deletions
63
plc4c/generated-sources/modbus/include/modbus_device_information_more_follows.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
#ifndef PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_MORE_FOLLOWS_H_ | ||
#define PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_MORE_FOLLOWS_H_ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <plc4c/driver_modbus_static.h> | ||
#include <plc4c/spi/read_buffer.h> | ||
#include <plc4c/spi/write_buffer.h> | ||
|
||
// Code generated by code-generation. DO NOT EDIT. | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
enum plc4c_modbus_read_write_modbus_device_information_more_follows { | ||
plc4c_modbus_read_write_modbus_device_information_more_follows_NO_MORE_OBJECTS_AVAILABLE = 0x00, | ||
plc4c_modbus_read_write_modbus_device_information_more_follows_MORE_OBJECTS_AVAILABLE = 0xFF | ||
}; | ||
typedef enum plc4c_modbus_read_write_modbus_device_information_more_follows plc4c_modbus_read_write_modbus_device_information_more_follows; | ||
|
||
// Get an empty NULL-struct | ||
plc4c_modbus_read_write_modbus_device_information_more_follows plc4c_modbus_read_write_modbus_device_information_more_follows_null(); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_more_follows_parse(plc4c_spi_read_buffer* readBuffer, plc4c_modbus_read_write_modbus_device_information_more_follows** message); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_more_follows_serialize(plc4c_spi_write_buffer* writeBuffer, plc4c_modbus_read_write_modbus_device_information_more_follows* message); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_more_follows plc4c_modbus_read_write_modbus_device_information_more_follows_value_of(char* value_string); | ||
|
||
int plc4c_modbus_read_write_modbus_device_information_more_follows_num_values(); | ||
|
||
plc4c_modbus_read_write_modbus_device_information_more_follows plc4c_modbus_read_write_modbus_device_information_more_follows_value_for_index(int index); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_more_follows_length_in_bytes(plc4c_modbus_read_write_modbus_device_information_more_follows* message); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_more_follows_length_in_bits(plc4c_modbus_read_write_modbus_device_information_more_follows* message); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_MORE_FOLLOWS_H_ |
58 changes: 58 additions & 0 deletions
58
plc4c/generated-sources/modbus/include/modbus_device_information_object.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
#ifndef PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_OBJECT_H_ | ||
#define PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_OBJECT_H_ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
#include <plc4c/driver_modbus_static.h> | ||
#include <plc4c/spi/read_buffer.h> | ||
#include <plc4c/spi/write_buffer.h> | ||
#include <plc4c/utils/list.h> | ||
|
||
// Code generated by code-generation. DO NOT EDIT. | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
|
||
struct plc4c_modbus_read_write_modbus_device_information_object { | ||
/* Properties */ | ||
uint8_t object_id; | ||
plc4c_list* data; | ||
}; | ||
typedef struct plc4c_modbus_read_write_modbus_device_information_object plc4c_modbus_read_write_modbus_device_information_object; | ||
|
||
// Create an empty NULL-struct | ||
plc4c_modbus_read_write_modbus_device_information_object plc4c_modbus_read_write_modbus_device_information_object_null(); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_object_parse(plc4c_spi_read_buffer* readBuffer, plc4c_modbus_read_write_modbus_device_information_object** message); | ||
|
||
plc4c_return_code plc4c_modbus_read_write_modbus_device_information_object_serialize(plc4c_spi_write_buffer* writeBuffer, plc4c_modbus_read_write_modbus_device_information_object* message); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_object_length_in_bytes(plc4c_modbus_read_write_modbus_device_information_object* message); | ||
|
||
uint16_t plc4c_modbus_read_write_modbus_device_information_object_length_in_bits(plc4c_modbus_read_write_modbus_device_information_object* message); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#endif // PLC4C_MODBUS_READ_WRITE_MODBUS_DEVICE_INFORMATION_OBJECT_H_ |
Oops, something went wrong.