if (element_len > 6 || !element_len) return -1;
int decode_waypoint(unsigned char *element, int element_len) {// 0x17 - Waypoint Name (up to 6 chars, uppercase)	char waypoint[7];	if (element_len > 6 || !element_len) return -1;         	strncpy(waypoint, element, element_len);	waypoint[element_len] = 0;	lprintf(T_OPENTRAC, "Waypoint Name: %s\r\n", waypoint);      	return 0;}