* @brief constants for network protocols
* @author Christian Grothoff
* @defgroup protocols Types of messages used in GNUnet
- * @{
+ * @{
*/
/*******************************************************************************
******************************************************************************/
/**
- * Type of data messages from the plugin to the gnunet-wlan-helper
+ * Type of data messages from the plugin to the gnunet-wlan-helper
*/
#define GNUNET_MESSAGE_TYPE_WLAN_DATA_TO_HELPER 39
#define GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY 266
/**
- * Request the destruction of a whole tunnel
+ * Request the destruction of a whole tunnel
*/
#define GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY 267
* Announce origin is still alive.
*/
#define GNUNET_MESSAGE_TYPE_MESH_FWD_KEEPALIVE 270
+#define GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE 270
/**
- * Announce destination is still alive.
+ * Announce destination is still alive. DEPRECATED
*/
#define GNUNET_MESSAGE_TYPE_MESH_BCK_KEEPALIVE 271
#define GNUNET_MESSAGE_TYPE_MESH_CHANNEL_ACK 275
/**
- * Encrypted data going forward.
+ * Encrypted data going forward. DEPRECATED
*/
#define GNUNET_MESSAGE_TYPE_MESH_FWD 280
+/**
+ * Encrypted data. (Payload, channel management, keepalive)
+ */
+#define GNUNET_MESSAGE_TYPE_MESH_ENCRYPTED 280
+
/**
* Encrypted data going backwards.
*/
/**
* Result in response to regex search.
- */
+ */
#define GNUNET_MESSAGE_TYPE_REGEX_RESULT 622
/*******************************************************************************
*/
#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ALICE_TO_BOB 642
+/**
+ * Vector-Product Service request -> remote VP Service Multipart
+ */
+#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ALICE_TO_BOB_MULTIPART 643
+
/**
* remote Vector-Product Service response -> requesting VP Service
*/
-#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_BOB_TO_ALICE 643
+#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_BOB_TO_ALICE 644
+
+/**
+ * remote Vector-Product Service response -> requesting VP Service Multipart
+ */
+#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_BOB_TO_ALICE_MULTIPART 645
/**
* Vector-Product Service response -> Client
*/
-#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_SERVICE_TO_CLIENT 644
+#define GNUNET_MESSAGE_TYPE_SCALARPRODUCT_SERVICE_TO_CLIENT 646
/*******************************************************************************
#define GNUNET_MESSAGE_TYPE_PSYC_CHANNEL_SLAVE_RM 690
-#define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_METHOD 691
+#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD 691
-#define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_MODIFIER 692
+#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MODIFIER 692
-#define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_MOD_CONT 693
+#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MOD_CONT 693
-#define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_DATA 694
+#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA 694
#define GNUNET_MESSAGE_TYPE_PSYC_TRANSMIT_ACK 695
-#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD 696
+#define GNUNET_MESSAGE_TYPE_PSYC_STORY_REQUEST 701
-#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MODIFIER 697
+#define GNUNET_MESSAGE_TYPE_PSYC_STORY_RESPONSE 702
-#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MOD_CONT 698
-#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA 699
+#define GNUNET_MESSAGE_TYPE_PSYC_STATE_GET 703
-#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_ACK 700
+#define GNUNET_MESSAGE_TYPE_PSYC_STATE_GET_PREFIX 704
+#define GNUNET_MESSAGE_TYPE_PSYC_STATE_RESPONSE 705
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_REQUEST 701
+#define GNUNET_MESSAGE_TYPE_PSYC_STATE_MODIFIER 706
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_METHOD 702
+#define GNUNET_MESSAGE_TYPE_PSYC_STATE_MOD_CONT 707
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_MODIFIER 703
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_MOD_CONT 704
+/*******************************************************************************
+ * CONVERSATION message types
+ ******************************************************************************/
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_DATA 705
+/**
+ * Message to transmit the audio between helper and speaker/microphone library.
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_AUDIO 730
-#define GNUNET_MESSAGE_TYPE_PSYC_STORY_ACK 706
+/**
+ * Client -> Server message register a phone.
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_REGISTER 730
+/**
+ * Client -> Server meessage to reject/hangup a call
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICK_UP 731
-#define GNUNET_MESSAGE_TYPE_PSYC_STATE_GET 707
+/**
+ * Client -> Server meessage to reject/hangup a call
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_HANG_UP 732
-#define GNUNET_MESSAGE_TYPE_PSYC_STATE_GET_PREFIX 708
+/**
+ * Client <- Server message to indicate a ringing phone
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_CALL 733
-#define GNUNET_MESSAGE_TYPE_PSYC_STATE_MODIFIER 709
+/**
+ * Client <- Server message to indicate a ringing phone
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_RING 734
+
+/**
+ * Client <-> Server message to send audio data.
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_BUSY 735
+
+/**
+ * Client <-> Server message to send audio data.
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICKED_UP 736
+
+/**
+ * Client <-> Server message to send audio data.
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_CS_AUDIO 737
+
+/**
+ * Mesh: call initiation
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_RING 738
+
+/**
+ * Mesh: hang up / refuse call
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_HANG_UP 739
+
+/**
+ * Mesh: pick up phone (establish audio channel)
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_PICK_UP 740
+
+/**
+ * Mesh: phone is busy (refuse nicely)
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_PHONE_BUSY 741
-#define GNUNET_MESSAGE_TYPE_PSYC_STATE_MOD_CONT 710
+/**
+ * Mesh: audio data
+ */
+#define GNUNET_MESSAGE_TYPE_CONVERSATION_MESH_AUDIO 742
/*******************************************************************************
/**
* Multicast message from the origin to all members.
*/
-#define GNUNET_MESSAGE_TYPE_MULTICAST_MESSAGE 730
+#define GNUNET_MESSAGE_TYPE_MULTICAST_MESSAGE 750
/**
* A unicast message from a group member to the origin.
/**
- * Next available: 750
+ * Next available: 780
*/