Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/SimplePublish.cpp (1 of 2 files). Show all
Unified · Split
| @@ -81,11 +81,6 @@ int main(int argc, char* argv[]) · 80 unmodified lines | |||
| 81 | return 0; | 81 | return 0; |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | // The proper procedure when creating and running a subscriber is: | ||
| 85 | // - Create publisher | ||
| 86 | // - Register callbacks | ||
| 87 | // - Start publisher to listen for subscribers | ||
| 88 | // - Publish | ||
| 89 | bool RunPublisher(uint16_t port) | 84 | bool RunPublisher(uint16_t port) |
| 90 | { | 85 | { |
| 91 | string errorMessage; | 86 | string errorMessage; |