-
Notifications
You must be signed in to change notification settings - Fork 17
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
Large number in peek #1
Comments
This issue is due to the maximum transfer size being 4080 bytes that is present when communicating via USB. This is an issue that I have ran into very recently, so I have not uploaded a solution publicly, although, one exists. It has not been uploaded publicly yet as I am still working on the next update for USB-Botbase. I will release the updated read method which should solve this issue for now at least. |
The new python script doesn't work if the peek size parameter is larger than 478. After I change the 4080 to 478 in the new scirpt, it works when size is less or equal than 536. If peek size is greater than 536, python says:
The last error string is Chinese which means "The device connected to the system is not functioning." And my main function is like this:
My switch system version is 10.0.3|AMS 0.12.0|E |
remove unnecessary library
I modified example_PokemonSwSh_SurpriseTrade.py and try this
peek 0x4293D8B0 10320
to get all pokemon in boxes, but it failed, Python says index out of range.I checked code from
global_in.read(size, timeout=0)
, it doesn't have enough size of data. Is there any limitations of the size in peek operation? The original sys-botbase can support thispeek 0x4293D8B0 10320
correctly.The text was updated successfully, but these errors were encountered: