Skip to content

Commit

Permalink
Don't remove servicedata, tags and so on in Python _decoder.cpp (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem authored Apr 6, 2023
1 parent 61f0ed6 commit 20e70dd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions python/TheengsDecoder/_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ static PyObject *decode_BLE(PyObject *self, PyObject *args)

if (decoder.decodeBLEJson(bleObject) >= 0) {
std::string buf;
bleObject.remove("servicedata");
bleObject.remove("manufacturerdata");
bleObject.remove("servicedatauuid");
bleObject.remove("type");
bleObject.remove("cidc");
bleObject.remove("acts");
bleObject.remove("cont");
bleObject.remove("track");
serializeJson(bleObject, buf);
return Py_BuildValue("s", buf.c_str());
}
Expand Down

0 comments on commit 20e70dd

Please sign in to comment.