Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update star_kee.cpp #2

Open
wants to merge 1 commit into
base: Gansta
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Starline_keeloq_shlakbaums-main/star_kee.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ for (int i = 0; i < sizeof(Manafacture) / sizeof(Manafacture[0]); i++) {

Serial.print("DECRYPTED:");Serial.println(decryptedData,HEX);
// Извлекаем старшие 8 бит (btnm)
uint8_t btnm = (decryptedData >> 24) & 0xFF;
uint8_t btnm = (decryptedData >> 28) & 0xFF;
// Извлекаем следующие 8 бит (fixm)
uint8_t fixm = (decryptedData >> 16) & 0xFF;
// Извлекаем младшие 16 бит (cntm)
Expand Down Expand Up @@ -1578,4 +1578,4 @@ void getSavedCodes(const char* packageName, String& jsonResponse, uint8_t expect
prefs.end(); // Закрываем пространство памяти
Serial.println("Чтение завершено");
Serial.println(jsonResponse); // Печатаем результат
}
}