static void N6110_ReplyGetAuthentication(u16 MessageLength, u8 *MessageBuffer, u8 MessageType) {
+ LIVE;
+
#if defined WIN32 || !defined HAVE_SNPRINTF
sprintf(Current_IMEI, "%s", MessageBuffer+9);
sprintf(Current_Model, "%s", MessageBuffer+25);
After making it phone display "Accessory connected"
and probably give access to some function (I'm not too sure about it !)
Anyway, I make it now for N51xx/61xx */
- if (GetModelFeature (FN_AUTHENTICATION)!=0) {
+#if 1
+ if (GetModelFeature (FN_AUTHENTICATION)!=0)
+#else
+ if (0/*Lace-hack:GetModelFeature (FN_AUTHENTICATION)!=0*/)
+#endif
+ {
if (N6110_Authentication()!=GE_NONE) return GE_TIMEOUT;
} else { /* No authentication */
if (N6110_SendIMEIFrame()!=GE_NONE) return GE_TIMEOUT;