Skip to content

Commit

Permalink
Duplicated message id is not tolerated
Browse files Browse the repository at this point in the history
* remove one of the RXM-PMREQ commands

Signed-off-by: cabrol <[email protected]>
  • Loading branch information
cabrol committed Jun 7, 2023
1 parent e3e85d6 commit 9116cee
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 102 deletions.
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/ACK.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/ACK.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.296368
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.186856
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/ACK.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/ACK.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.295852
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.186296
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/CFG.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/CFG.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.298573
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.189260
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/CFG.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/CFG.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.296661
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.187228
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/ESF.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/ESF.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.300739
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.191321
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/ESF.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/ESF.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.300282
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.190985
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/LOG.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/LOG.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.302028
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.192858
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/LOG.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/LOG.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.301002
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.191586
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/MGA.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/MGA.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.303679
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.194355
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/MGA.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/MGA.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.302912
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.193760
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/MON.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/MON.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.304788
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.195522
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/MON.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/MON.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.304129
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.194813
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/NAV.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/NAV.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.306677
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.197503
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/NAV.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/NAV.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.305465
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.196247
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
40 changes: 12 additions & 28 deletions lang/cpp/src/messages/RXM.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/RXM.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.308685
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.199462
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down Expand Up @@ -75,7 +75,7 @@ std::string ubx::RXM::PMREQ::getMessageName(void) const { return std::string("PM
std::string ubx::RXM::PMREQ::getDescription(void) const {
std::stringstream ret;
ret << "{\"classId\":" << std::to_string(getClassId()) << ",\"messageId\":" << std::to_string(getMessageId()) << ",\"classIdName\":\"" << getClassName() << "\",\"messageIdName\":\"" << getMessageName() << "\"";
ret << ", \"duration\":" << std::to_string(data.duration) << ", \"flags\":" << std::to_string(data.flags) << ", \"_flags\":{\"backup\":" << std::to_string(data.flags_backup()) << "}";
ret << ", \"version\":" << std::to_string(data.version) << ", \"reserved1\":" << "0" << ", \"duration\":" << std::to_string(data.duration) << ", \"flags\":" << std::to_string(data.flags) << ", \"_flags\":{\"backup\":" << std::to_string(data.flags_backup()) << ", \"force\":" << std::to_string(data.flags_force()) << "}" << ", \"wakeupSources\":" << std::to_string(data.wakeupSources) << ", \"_wakeupSources\":{\"uartrx\":" << std::to_string(data.wakeupSources_uartrx()) << ", \"extint0\":" << std::to_string(data.wakeupSources_extint0()) << ", \"extint1\":" << std::to_string(data.wakeupSources_extint1()) << ", \"spics\":" << std::to_string(data.wakeupSources_spics()) << "}";
ret << "}";
return ret.str();
}
Expand All @@ -84,33 +84,17 @@ uint16_t ubx::RXM::PMREQ::getDataSize(void) const { return sizeof(data); }

void ubx::RXM::PMREQ::_data::flags_backup(uint8_t val){ UBX_CHANGE_VAR_BIT(flags, val, RXM_PMREQ_FLAGS_BACKUP_MASK, RXM_PMREQ_FLAGS_BACKUP_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::flags_backup()const{ return UBX_GET_VAR_BIT(flags, RXM_PMREQ_FLAGS_BACKUP_MASK, RXM_PMREQ_FLAGS_BACKUP_OFFSET); }
uint8_t ubx::RXM::PMREQ2::getClassId(void) const { return ubx::RXM::classID; }
uint8_t ubx::RXM::PMREQ2::getMessageId(void) const { return messageID; }
const std::string &ubx::RXM::PMREQ2::getClassName(void) const { return classIDName; }
std::string ubx::RXM::PMREQ2::getMessageName(void) const { return std::string("PMREQ2"); };
std::string ubx::RXM::PMREQ2::getDescription(void) const {
std::stringstream ret;
ret << "{\"classId\":" << std::to_string(getClassId()) << ",\"messageId\":" << std::to_string(getMessageId()) << ",\"classIdName\":\"" << getClassName() << "\",\"messageIdName\":\"" << getMessageName() << "\"";
ret << ", \"version\":" << std::to_string(data.version) << ", \"reserved1\":" << "0" << ", \"duration\":" << std::to_string(data.duration) << ", \"flags\":" << std::to_string(data.flags) << ", \"_flags\":{\"backup\":" << std::to_string(data.flags_backup()) << ", \"force\":" << std::to_string(data.flags_force()) << "}" << ", \"wakeupSources\":" << std::to_string(data.wakeupSources) << ", \"_wakeupSources\":{\"uartrx\":" << std::to_string(data.wakeupSources_uartrx()) << ", \"extint0\":" << std::to_string(data.wakeupSources_extint0()) << ", \"extint1\":" << std::to_string(data.wakeupSources_extint1()) << ", \"spics\":" << std::to_string(data.wakeupSources_spics()) << "}";
ret << "}";
return ret.str();
}
uint8_t* ubx::RXM::PMREQ2::getDataStartAddress(void) const { return (uint8_t*)&data; }
uint16_t ubx::RXM::PMREQ2::getDataSize(void) const { return sizeof(data); }

void ubx::RXM::PMREQ2::_data::flags_backup(uint8_t val){ UBX_CHANGE_VAR_BIT(flags, val, RXM_PMREQ2_FLAGS_BACKUP_MASK, RXM_PMREQ2_FLAGS_BACKUP_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::flags_backup()const{ return UBX_GET_VAR_BIT(flags, RXM_PMREQ2_FLAGS_BACKUP_MASK, RXM_PMREQ2_FLAGS_BACKUP_OFFSET); }
void ubx::RXM::PMREQ2::_data::flags_force(uint8_t val){ UBX_CHANGE_VAR_BIT(flags, val, RXM_PMREQ2_FLAGS_FORCE_MASK, RXM_PMREQ2_FLAGS_FORCE_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::flags_force()const{ return UBX_GET_VAR_BIT(flags, RXM_PMREQ2_FLAGS_FORCE_MASK, RXM_PMREQ2_FLAGS_FORCE_OFFSET); }
void ubx::RXM::PMREQ::_data::flags_force(uint8_t val){ UBX_CHANGE_VAR_BIT(flags, val, RXM_PMREQ_FLAGS_FORCE_MASK, RXM_PMREQ_FLAGS_FORCE_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::flags_force()const{ return UBX_GET_VAR_BIT(flags, RXM_PMREQ_FLAGS_FORCE_MASK, RXM_PMREQ_FLAGS_FORCE_OFFSET); }

void ubx::RXM::PMREQ2::_data::wakeupSources_uartrx(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ2_WAKEUPSOURCES_UARTRX_MASK, RXM_PMREQ2_WAKEUPSOURCES_UARTRX_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::wakeupSources_uartrx()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ2_WAKEUPSOURCES_UARTRX_MASK, RXM_PMREQ2_WAKEUPSOURCES_UARTRX_OFFSET); }
void ubx::RXM::PMREQ2::_data::wakeupSources_extint0(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_MASK, RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::wakeupSources_extint0()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_MASK, RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_OFFSET); }
void ubx::RXM::PMREQ2::_data::wakeupSources_extint1(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_MASK, RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::wakeupSources_extint1()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_MASK, RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_OFFSET); }
void ubx::RXM::PMREQ2::_data::wakeupSources_spics(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ2_WAKEUPSOURCES_SPICS_MASK, RXM_PMREQ2_WAKEUPSOURCES_SPICS_OFFSET); }
uint8_t ubx::RXM::PMREQ2::_data::wakeupSources_spics()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ2_WAKEUPSOURCES_SPICS_MASK, RXM_PMREQ2_WAKEUPSOURCES_SPICS_OFFSET); }
void ubx::RXM::PMREQ::_data::wakeupSources_uartrx(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ_WAKEUPSOURCES_UARTRX_MASK, RXM_PMREQ_WAKEUPSOURCES_UARTRX_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::wakeupSources_uartrx()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ_WAKEUPSOURCES_UARTRX_MASK, RXM_PMREQ_WAKEUPSOURCES_UARTRX_OFFSET); }
void ubx::RXM::PMREQ::_data::wakeupSources_extint0(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ_WAKEUPSOURCES_EXTINT0_MASK, RXM_PMREQ_WAKEUPSOURCES_EXTINT0_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::wakeupSources_extint0()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ_WAKEUPSOURCES_EXTINT0_MASK, RXM_PMREQ_WAKEUPSOURCES_EXTINT0_OFFSET); }
void ubx::RXM::PMREQ::_data::wakeupSources_extint1(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ_WAKEUPSOURCES_EXTINT1_MASK, RXM_PMREQ_WAKEUPSOURCES_EXTINT1_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::wakeupSources_extint1()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ_WAKEUPSOURCES_EXTINT1_MASK, RXM_PMREQ_WAKEUPSOURCES_EXTINT1_OFFSET); }
void ubx::RXM::PMREQ::_data::wakeupSources_spics(uint8_t val){ UBX_CHANGE_VAR_BIT(wakeupSources, val, RXM_PMREQ_WAKEUPSOURCES_SPICS_MASK, RXM_PMREQ_WAKEUPSOURCES_SPICS_OFFSET); }
uint8_t ubx::RXM::PMREQ::_data::wakeupSources_spics()const{ return UBX_GET_VAR_BIT(wakeupSources, RXM_PMREQ_WAKEUPSOURCES_SPICS_MASK, RXM_PMREQ_WAKEUPSOURCES_SPICS_OFFSET); }
uint8_t ubx::RXM::RAWX::getClassId(void) const { return ubx::RXM::classID; }
uint8_t ubx::RXM::RAWX::getMessageId(void) const { return messageID; }
const std::string &ubx::RXM::RAWX::getClassName(void) const { return classIDName; }
Expand Down
51 changes: 12 additions & 39 deletions lang/cpp/src/messages/RXM.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/RXM.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.307741
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.198572
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down Expand Up @@ -147,6 +147,17 @@ struct __attribute__((packed)) MEASX : public SerializeCommon

#define RXM_PMREQ_FLAGS_BACKUP_OFFSET (1)
#define RXM_PMREQ_FLAGS_BACKUP_MASK (2)
#define RXM_PMREQ_FLAGS_FORCE_OFFSET (2)
#define RXM_PMREQ_FLAGS_FORCE_MASK (4)

#define RXM_PMREQ_WAKEUPSOURCES_UARTRX_OFFSET (3)
#define RXM_PMREQ_WAKEUPSOURCES_UARTRX_MASK (8)
#define RXM_PMREQ_WAKEUPSOURCES_EXTINT0_OFFSET (5)
#define RXM_PMREQ_WAKEUPSOURCES_EXTINT0_MASK (32)
#define RXM_PMREQ_WAKEUPSOURCES_EXTINT1_OFFSET (6)
#define RXM_PMREQ_WAKEUPSOURCES_EXTINT1_MASK (64)
#define RXM_PMREQ_WAKEUPSOURCES_SPICS_OFFSET (7)
#define RXM_PMREQ_WAKEUPSOURCES_SPICS_MASK (128)
/* Power management request
*/
struct __attribute__((packed)) PMREQ : public SerializeCommon
Expand All @@ -161,44 +172,6 @@ struct __attribute__((packed)) PMREQ : public SerializeCommon

static constexpr uint8_t messageID = 65;

struct __attribute__((packed)) _data {
uint32_t duration;
uint32_t flags;


void flags_backup(uint8_t val);
uint8_t flags_backup() const;
} data;
};


#define RXM_PMREQ2_FLAGS_BACKUP_OFFSET (1)
#define RXM_PMREQ2_FLAGS_BACKUP_MASK (2)
#define RXM_PMREQ2_FLAGS_FORCE_OFFSET (2)
#define RXM_PMREQ2_FLAGS_FORCE_MASK (4)

#define RXM_PMREQ2_WAKEUPSOURCES_UARTRX_OFFSET (3)
#define RXM_PMREQ2_WAKEUPSOURCES_UARTRX_MASK (8)
#define RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_OFFSET (5)
#define RXM_PMREQ2_WAKEUPSOURCES_EXTINT0_MASK (32)
#define RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_OFFSET (6)
#define RXM_PMREQ2_WAKEUPSOURCES_EXTINT1_MASK (64)
#define RXM_PMREQ2_WAKEUPSOURCES_SPICS_OFFSET (7)
#define RXM_PMREQ2_WAKEUPSOURCES_SPICS_MASK (128)
/* Power management request
*/
struct __attribute__((packed)) PMREQ2 : public SerializeCommon
{
virtual uint8_t getClassId(void) const override;
virtual uint8_t getMessageId(void) const override;
virtual const std::string &getClassName(void) const override;
virtual std::string getMessageName(void) const override;
virtual std::string getDescription(void) const override;
virtual uint8_t* getDataStartAddress(void) const override;
virtual uint16_t getDataSize(void) const override;

static constexpr uint8_t messageID = 65;

struct __attribute__((packed)) _data {
uint8_t version;
uint8_t reserved1[3];
Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/TEST.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/TEST.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.309824
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.200578
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/TEST.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/TEST.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.309493
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.200245
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/TIM.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/TIM.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.310354
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.201122
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/messages/TIM.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/messages/TIM.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.310074
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.200836
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
7 changes: 1 addition & 6 deletions lang/cpp/src/parseUbxMessage.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/parseUbxMessage.cpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.310776
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.201552
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!
#include <cstring>
Expand Down Expand Up @@ -335,11 +335,6 @@ std::shared_ptr<SerializeCommon> ParseUbxMessage::createUbx(const uint8_t *buf,
ret = shared_ptr<RXM::PMREQ>(new RXM::PMREQ);
break;
}
case RXM::PMREQ2::messageID: // Message RXM-PMREQ2
{
ret = shared_ptr<RXM::PMREQ2>(new RXM::PMREQ2);
break;
}
case RXM::RAWX::messageID: // Message RXM-RAWX
{
ret = shared_ptr<RXM::RAWX>(new RXM::RAWX);
Expand Down
2 changes: 1 addition & 1 deletion lang/cpp/src/parseUbxMessage.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// File lang/cpp/src/parseUbxMessage.hpp
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T12:40:39.310583
// Auto-generated by pyUBX generateCPP.py v0.2 on 2023-06-07T13:38:14.201354
// See https://github.com/mayeranalytics/pyUBX
// DO NOT MODIFY THIS FILE!

Expand Down
10 changes: 0 additions & 10 deletions ubx/UBX/RXM.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ class Fields:
pass

class PMREQ:
u"""Power management request"""

_id = 0x41

class Fields:
duration = U4(1)
flags = X4(2,bitfield={
"backup": 1})

class PMREQ2:
"""Power management request"""

_id = 0x41
Expand Down

0 comments on commit 9116cee

Please sign in to comment.