libe3py 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {libe3py-0.2.3 → libe3py-0.2.4}/PKG-INFO +1 -1
- libe3py-0.2.4/VERSION +1 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/swig/e3_dapp_session.cpp +8 -8
- {libe3py-0.2.3 → libe3py-0.2.4}/swig/e3_dapp_session.hpp +6 -5
- libe3py-0.2.3/VERSION +0 -1
- {libe3py-0.2.3 → libe3py-0.2.4}/LICENSE +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/NOTICE +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/cmake/libe3SwigModule.cmake +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/pyproject.toml +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/python/CMakeLists.txt +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/python/README.md +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/swig/README.md +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/swig/libe3.i +0 -0
- {libe3py-0.2.3 → libe3py-0.2.4}/swig/libe3_swig.hpp +0 -0
libe3py-0.2.4/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.4
|
|
@@ -196,22 +196,22 @@ std::vector<uint8_t> DAppSession::setup_ran_function_data(std::size_t i) const {
|
|
|
196
196
|
return impl_->setup.ran_function_list[i].ran_function_data;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
199
|
+
int64_t DAppSession::subscribe(uint32_t ran_function_id,
|
|
200
|
+
std::vector<uint32_t> telemetry_ids,
|
|
201
|
+
std::vector<uint32_t> control_ids,
|
|
202
|
+
int sub_time_ms,
|
|
203
|
+
int periodicity) {
|
|
204
204
|
uint32_t request_id = 0;
|
|
205
205
|
ErrorCode rc = impl_->agent->subscribe(
|
|
206
206
|
ran_function_id, std::move(telemetry_ids), std::move(control_ids),
|
|
207
207
|
opt_u32(sub_time_ms), opt_u32(periodicity), &request_id);
|
|
208
|
-
// On success return the assigned request id (positive, 1..
|
|
208
|
+
// On success return the assigned request id (positive, 1..4294967295) so Python
|
|
209
209
|
// can correlate the SubscriptionResponse by id; on failure return the
|
|
210
210
|
// ErrorCode (all error codes are negative, SUCCESS is 0).
|
|
211
211
|
if (rc == ErrorCode::SUCCESS) {
|
|
212
|
-
return static_cast<
|
|
212
|
+
return static_cast<int64_t>(request_id);
|
|
213
213
|
}
|
|
214
|
-
return static_cast<
|
|
214
|
+
return static_cast<int64_t>(rc);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
int DAppSession::unsubscribe(uint32_t ran_function_id) {
|
|
@@ -146,11 +146,11 @@ public:
|
|
|
146
146
|
* @brief Subscribe to a RAN function (after a positive setup).
|
|
147
147
|
* @param sub_time_ms subscription time, or -1 for unset.
|
|
148
148
|
* @param periodicity delivery periodicity (µs), or -1 for unset.
|
|
149
|
-
* @return the assigned request id (positive, 1..
|
|
150
|
-
* caller can correlate the SubscriptionResponse by its
|
|
151
|
-
* a negative ErrorCode on failure.
|
|
149
|
+
* @return the assigned request id (positive, 1..4294967295) on success, so
|
|
150
|
+
* the caller can correlate the SubscriptionResponse by its
|
|
151
|
+
* request_id; a negative ErrorCode on failure.
|
|
152
152
|
*/
|
|
153
|
-
|
|
153
|
+
int64_t subscribe(uint32_t ran_function_id,
|
|
154
154
|
std::vector<uint32_t> telemetry_ids,
|
|
155
155
|
std::vector<uint32_t> control_ids,
|
|
156
156
|
int sub_time_ms,
|
|
@@ -174,7 +174,8 @@ public:
|
|
|
174
174
|
/**
|
|
175
175
|
* @brief Send a dApp report to the RAN.
|
|
176
176
|
* @param sequence_id correlation id this dApp assigns to the detection;
|
|
177
|
-
* mandatory on the wire
|
|
177
|
+
* mandatory on the wire, 1..4294967295 (0 is refused with
|
|
178
|
+
* INVALID_PARAM).
|
|
178
179
|
* @return the assigned message id (positive, 1..4294967295) on success, so
|
|
179
180
|
* the caller can correlate a later ack/response by id; a negative
|
|
180
181
|
* ErrorCode on failure.
|
libe3py-0.2.3/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|